2 solutions
-
1
int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a>b){ if(a>c){ if(b+c>a){ printf("yes"); }else{ printf("no"); } }else { if(a+b>c){printf("yes"); }else{ printf("no"); } } }else{ if(b>c){ if(a+c>b){ printf("yes"); }else{ printf("no"); } }else{ if(a+b>c){ printf("yes"); }else{ printf("no"); } } }return 0; }
Information
- ID
- 6732
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 5
- Tags
- (None)
- # Submissions
- 195
- Accepted
- 76
- Uploaded By