OI-Codes/点和正方形的关系.cpp
2023-08-23 21:52:51 +08:00

15 lines
184 B
C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int x;
int y;
cin >>x>>y;
if(x>=-1 && x<=1 && y>=-1 && y<=1){
cout <<"yes";
}
else{
cout <<"no";
}
return 0;
}