2 条题解

  • 4
    @ 2025-11-30 13:26:33
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int x,y;
        cin>>x>>y;
        if(x>=-1&&x<=1&&y>=-1&&y<=1)
            cout<<"yes";
        else
            cout<<"no";
        return 0;
    }
    
    • 0
      @ 2026-1-17 21:44:37
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          int x,y;
          cin>>x>>y;
          if(x>=-1&&x<=1&&y>=-1&&y<=1)
              cout<<"yes";
          else
              cout<<"no";
          return 0;
      }
      
      
      • 1

      信息

      ID
      6908
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      递交数
      16
      已通过
      14
      上传者