1 solutions

  • 1
    @ 2025-5-14 18:01:21
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
      int x,y;
      cin>>x>>y;
      if(x>0&&y>0){
        cout<<1;
      }
      if(x<0&&y>0){
        cout<<2;
      }
      if(x<0&&y<0){
        cout<<3;
      }
      if(x>0&&y<0){
        cout<<4;
      }
      return 0;
    }
    
    • 1

    Information

    ID
    844
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    3
    Accepted
    3
    Uploaded By