Advertisement
awsmpshk

Untitled

Dec 27th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. double x, y;
  8. cin >> x >> y;
  9. if (y > -x && x * x + y * y < 100) cout << "Yes" << endl;
  10. else if (y > -x && x * x + y * y == 100) cout << "Лежит на границе" << endl;
  11. else cout << "No" << endl;
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement