cf/mirror

Circular Local MiniMax

CF
1685A1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
3
1 1 2
4
1 9 8 4
4
2 0 2 2
6
1 1 1 11 111 1111
Output
NO
YES
1 8 4 9
NO
YES
1 11 1 111 1 1111
1685A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)