Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main() {
- double x, y;
- cin >> x >> y;
- if (y > -x && x * x + y * y < 100) cout << "Yes" << endl;
- else if (y > -x && x * x + y * y == 100) cout << "Лежит на границе" << endl;
- else cout << "No" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement