cf/mirror

Vlad and Shapes

CF
1926B800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
3
000
011
011
4
0000
0000
0100
1110
2
11
11
5
00111
00010
00000
00000
00000
10
0000000000
0000000000
0000000000
0000000000
0000000000
1111111110
0111111100
0011111000
0001110000
0000100000
3
111
111
111
Output
SQUARE
TRIANGLE
SQUARE
TRIANGLE
TRIANGLE
SQUARE
1926B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)