cf/mirror

Ravioli Sort

CF
952C1600· expert1s256 MB⌨ stdin/stdout

Examples

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