Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5222 | 张熙媛 | 点和正方形的关系 | C++ | 解答错误 | 0 | 0 MS | 244 KB | 209 | 2020-07-28 13:44:54 |
#include<bits/stdc++.h> using namespace std; int main(){ double x,y; cin>>x>>y; if((x,y)==(1,-1)||(x,y)==(1,1)||(x,y)==(-1,-1)||(x,y)==(-1,1)) cout<<"yes"; else cout<<"no"; return 0; }