#include <iostream> #include <cmath> using namespace std; int main() { double x,y; cin >> x >> y; cout << ((y<=2 - (x*x ,2) && (y>=x || y>=0)) ? "YES" : "NO")); return 0; }
Standard input is empty
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")); ^ ;
Standard output is empty