Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
55428 | zhangweiran | 点和正方形的关系 | C++ | Accepted | 0 MS | 244 KB | 220 | 2024-11-07 07:39:57 |
#include<bits/stdc++.h> using namespace std; int main() { int x,y; cin>>x>>y; if(((x>=-1&&x<=1)&&(y>=-1&&y<=1))) { cout<<"yes"; return 0; } else { cout<<"no"; return 0; } return 0; }