cf/mirror

Sorting Parts

CF
1637A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
3
2 2 1
4
3 1 2 1
5
1 2 2 4 4
Output
YES
YES
NO
1637A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)