4 solutions

  • 0
    @ 2025-10-7 16:27:46

    #include<bits/stdc++.h> using namespace std; int main() { int a,y; cin>>a>>y; if (a<=1 and a>=-1 and y<=1 and y>=-1) { cout<<"yes"; } else { cout<<"no"; } return 0; }

    Information

    ID
    37
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    237
    Accepted
    82
    Uploaded By