1 solutions

  • 0
    @ 2025-5-14 17:31:11
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
      int x,y;
      cin>>x>>y;
      if(x>=-1&&1>=x&&y<=1&&y>+-1){
        cout<<"yes";
      }
      else{
        cout<<"no";
      }
      return 0;
    }
    
    • 1

    Information

    ID
    661
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    6
    Tags
    (None)
    # Submissions
    113
    Accepted
    36
    Uploaded By