1 solutions

  • 0
    @ 2024-7-28 17:40:58
    #include<iostream>
    using namespace std;
    int main()
    {
        int x,y;
        cin>>x>>y;
        if((x >= -1 && x <= 1) && (y >= -1 && y <= 1)){
            cout<<"yes"<<endl;
        }else cout<<"no"<<endl;
        return 0;
    }
    
    • 1

    Information

    ID
    6734
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    156
    Accepted
    75
    Uploaded By