1056:点和正方形的关系
时间:2024-05-27 15:42
作者:admin
点击:次
#include bits/stdc++.husing namespace std;int main(){ int x,y; cinxy; if(x=-1x=1y=-1y=1) cout"yes"; else cout"no"; return 0;}
#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";
else cout<<"no";
return 0;
}
(责任编辑:admin) |