mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 03:31:59 +00:00
B2051 点和正方形的关系
R54020455
This commit is contained in:
parent
8799a1ac97
commit
20d4ca5d31
11
Luogu/problem/B2051/B2051.cpp
Normal file
11
Luogu/problem/B2051/B2051.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int x, y;
|
||||
|
||||
int main() {
|
||||
cin >> x >> y;
|
||||
cout << (-1 <= x && x <= 1 && -1 <= y && y <= 1 ? "yes" : "no") << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user