fork download
  1. #include <stdio.h>
  2. int main() {
  3. int a, b, c;
  4. scanf("%d%d%d", &a, &b, &c);
  5. if ( a + b > c )
  6. if ( b + c > a )
  7. if ( a + c > b )
  8. printf("Yes");
  9. else printf("No");
  10. else printf("No");
  11. else printf("No");
  12. return 0;
  13. }
stdin
1 2 3
compilation info
prog.c: In function ‘main’:
prog.c:4: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
stdout
No