fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. double x,y;
  7. cin >> x >> y;
  8. cout << ((y<=2 - (x*x ,2) && (y>=x || y>=0)) ? "YES" : "NO"));
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:63: error: expected ‘;’ before ‘)’ token
  cout << ((y<=2 - (x*x ,2) &&  (y>=x || y>=0)) ? "YES" : "NO"));
                                                               ^
                                                               ;
stdout
Standard output is empty