Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include <iostream>
- using namespace std;
- int main() {
- setlocale(LC_ALL, "Russian");
- float x, y;
- scanf("%f %f", &x, &y);
- if (x * x + y * y <= 4 && x * x + y * y >=1) {
- printf("YES");
- }
- else {
- printf("NO");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement