cf/mirror

Vlad Building Beautiful Array

CF
1833C800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
7
5
2 6 8 4 3
5
1 4 7 6 9
4
2 6 4 10
7
5 29 13 9 10000001 11 3
5
2 1 2 4 2
5
2 4 5 4 3
4
2 5 5 4
Output
NO
YES
YES
YES
YES
NO
NO
1833C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)