Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51607 | 张思存 | 点和正方形的关系 | C++ | Accepted | 0 MS | 244 KB | 250 | 2024-09-22 21:48:48 |
#include <bits/stdc++.h> using namespace std; int main(){ int x, y; if(x>1 or x<-1){ cout<<"no"; }else{ if(y>1 or y<-1){ cout<<"no"; }else{ cout<<"yes"; } } return 0; }