1 条题解

  • 0
    @ 2026-6-7 14:15:51

    #include<bits/stdc++.h>

    using namespace std;

    int main(){

    int x,y;
    
    cin>>x>>y;
    
    if(x>0&&y>0){
    
        cout<<1;
        
    }else if(x<0&&y>1){
    
        cout<<2;
        
    }else if(x<0&&y<0){
    
        cout<<3;
        
    }else{
    
        cout<<4;
        
    }
    
    return 0;
    

    }

    • 1

    信息

    ID
    137
    时间
    1000ms
    内存
    64MiB
    难度
    1
    标签
    递交数
    32
    已通过
    19
    上传者