Advertisement
anon20016

Untitled

Dec 7th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #define _CRT_SECURE_NO_WARNINGS
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main() {
  7. setlocale(LC_ALL, "Russian");
  8. float x, y;
  9. scanf("%f %f", &x, &y);
  10. if (x * x + y * y <= 4 && x * x + y * y >=1) {
  11. printf("YES");
  12. }
  13. else {
  14. printf("NO");
  15. }
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement