cf/mirror

Split Sort

CF
1863B1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
1
1
2
2 1
6
6 4 3 5 2 1
3
3 1 2
19
10 19 7 1 17 11 8 5 12 9 4 18 14 2 6 15 3 16 13
Output
0
1
4
1
7
1863B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)