c++信息学奥赛 1056点和正方形的关系

#include <iostream>

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;

}

posted @ 2022-07-05 20:59  明睿小学李君道  阅读(303)  评论(0)    收藏  举报