Advertisement
WupEly

Untitled

Jan 27th, 2022
788
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main() {
  2.     double x;
  3.     double y;
  4.     cin >> x;
  5.     cin >> y;
  6.  
  7.     if (pow(x, 2) + pow(y, 2) == 1 && y == x/2) {
  8.         cout << true;
  9.     }
  10.  
  11.    
  12. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement