题解
2026-07-13 12:23:11
发布于:上海
1阅读
0回复
0点赞
判断一下就行了
#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
if(x>=-1&&y>=-1&&x<=1&&y<=1)cout<<"yes";
else cout<<"no";
}
这里空空如也
2026-07-13 12:23:11
发布于:上海
判断一下就行了
#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
if(x>=-1&&y>=-1&&x<=1&&y<=1)cout<<"yes";
else cout<<"no";
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个