题解
2026-08-06 20:31:56
发布于:浙江
0阅读
0回复
0点赞
#include<bits/stdc++.h>//submitRecord//
using namespace std;
//const int N=1e7+10;
int main(){
//freopen("","r",stdin);
//freopen("","w",stdout);
ios::sync_with_stdio();
cin.tie(nullptr);
cout.tie(nullptr);
int x,y;
string a="yes";
cin>>x>>y;
if(x1&&y1) cout<<a;
else if(x1 && y-1) cout<<a;
else if(x==-1 && y==-1) cout<<a;
else if(x0 && y0) cout<<a;
else if(x==-1 && y==1) cout<<a;
else cout<<"no";
//fclose(stdin);
//fclose(stdout);
return 0;
}
这里空空如也







有帮助,赞一个