fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long double x,y,z;
  6. cin >> x >> y >> z;
  7. cout << ((x+y>=z)&&(x+z>=y)&&(y+z>=x) ? "YES": "NO");
  8. return 0;
  9. }
Success #stdin #stdout 0s 3416KB
stdin
1e1000 1e10000 1e-1000
stdout
NO