题解 (不需很麻烦)
2024-11-11 22:11:19
发布于:江苏
3阅读
0回复
0点赞
就这样
#include<bits/stdc++.h>
using namespace std;
int x,y;
int main(){
cin>>x>>y;
if(x>=-1 and y>=-1 and x<=1 and y<=1){
cout<<"yes";
}
else{
cout<<"no";
}
return 0;
}
这里空空如也
2024-11-11 22:11:19
发布于:江苏
就这样
#include<bits/stdc++.h>
using namespace std;
int x,y;
int main(){
cin>>x>>y;
if(x>=-1 and y>=-1 and x<=1 and y<=1){
cout<<"yes";
}
else{
cout<<"no";
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个