cf/mirror

Bugged Sort

CF
2060G2400· grandmaster4s1024 MB⌨ stdin/stdout

Examples

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