Advertisement
awsmpshk

Untitled

Dec 27th, 2019
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement