16 条题解

  • -1
    @ 2023-3-15 20:06:54

    #include

    using namespace std;

    int main(){

    int a,b;
    
    cin>>a>>b;
    
    if(0<=a+b&&a+b<=3){
    
    	cout<<"YES";
    
    }else{
    
    	if(a+b>=4) {
    
    
    	cout<<"NO";	
    
    	}else{
    		if(a+b<0) cout<<"negative";
    
    	}	
    
    }
    

    }

    信息

    ID
    886
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    递交数
    684
    已通过
    300
    上传者