fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a;
  6. int b;
  7. int c;
  8.  
  9. while(cin >> a >> b >> c)
  10. {
  11. if( a+b>c and b+c>a and a+c>b )
  12. {
  13. cout << "Yes" << endl;
  14. }
  15. else
  16. {
  17. cout << "No" << endl;
  18. }
  19. }
  20. return 0;
  21. }
Success #stdin #stdout 0s 4284KB
stdin
3 5 3
stdout
Yes