Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
38834 | 奚晨瑞 | 点和正方形的关系 | C++ | Accepted | 0 MS | 244 KB | 177 | 2024-01-28 17:15:47 |
#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; if((-1<=a&&1>=a)||(-1<=b&&b<=1)){ cout<<"yes"; } else{ cout<<"no"; } return 0; }