欢迎使用本站,预祝练习时长两年半的选手们到成功! [本模块信息来自tem/def/head]

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)
    顶一下
    (0)
    0%
    踩一下
    (0)
    0%