Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5263 | zhengxitong | 点和正方形的关系 | C++ | 通过 | 100 | 0 MS | 252 KB | 256 | 2020-07-28 17:58:05 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; if(x==1&&y==-1) cout<<"yes"; else if(x==1&&y==1) cout<<"yes"; else if(x==-1&&y==-1) cout<<"yes"; else if(x==-1&&y==1) cout<<"yes"; else cout<<"no"; return 0; }