cf/mirror

AquaMoon and Strange Sort

CF
1545A1500· specialist1s256 MB⌨ stdin/stdout

Examples

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