1 条题解

  • 0
    @ 2025-9-9 23:54:50

    C++ :

    #include<iostream>
    using namespace std;
    
    int main(){
    	int x,y;
    	while(cin>>x>>y){
    		if(x>=-2&&x<=2){
    			if(y>=-2&&y<=2)
    				cout<<"True"<<endl;
    			else cout<<"False"<<endl;
    		}
    		else cout<<"False"<<endl;
    	}
    	return 0;
    }
    
    • 1

    信息

    ID
    1851
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者