cf/mirror

Cubes Sorting

CF
1420A900· newbie1s256 MB⌨ stdin/stdout

Examples

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