cf/mirror

Range Sorting (Easy Version)

CF
1827B12000· candidate master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
2
6 4
3
3 10 6
4
4 8 7 2
5
9 8 2 4 6
12
2 6 13 3 15 5 10 8 16 9 11 18
Output
1
2
8
16
232
1827B1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…