Four Segments
14C1700· expert2s64 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
1 1 6 11 0 6 06 0 6 11 1 1 0
Output
YES
Sample 2of 2
Input
0 0 0 32 0 0 02 2 2 00 2 2 2
Output
NO
58%
14C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
1 1 6 11 0 6 06 0 6 11 1 1 0
YES
0 0 0 32 0 0 02 2 2 00 2 2 2
NO