cf/mirror

Permutation Sort

CF
1525B900· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
4
1 3 2 4
3
1 2 3
5
2 1 4 5 3
Output
1
0
2
1525B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)