| 4 | int a[5]; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | |
| 9 | for(int i=1;i<=4;i++) cin>>a[i]; |
| 10 | sort(a+1,a+5); |
| 11 | if(a[1]+a[2]>a[3]||a[2]+a[3]>a[4]) cout<<"TRIANGLE"<<endl; |
| 12 | else if(a[1]+a[2]==a[3]||a[2]+a[3]==a[4]) cout<<"SEGMENT"<<endl; |
| 13 | else cout<<"IMPOSSIBLE"<<endl; |
| 14 | |
| 15 | |
| 16 | return 0; |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected