题解
2025-01-16 13:45:26
发布于:江苏
18阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    if((a==1&&b==-1)||(a==1&&b==1)||(a==-1&&b==-1)||(a==-1&&b==1)||(a==0&&b==0)){
        cout<<"yes";
    }else{
        cout<<"no";
    }
    return 0;
}
这里空空如也







有帮助,赞一个