Triangle
6A900· newbie2s64 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
4 2 1 3
Output
TRIANGLE
Sample 2of 3
Input
7 2 2 4
Output
SEGMENT
Sample 3of 3
Input
3 5 9 1
Output
IMPOSSIBLE
58%
6A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 2 1 3
TRIANGLE
7 2 2 4
SEGMENT
3 5 9 1
IMPOSSIBLE