cf/mirror

Sort with Step

CF
1823B900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
4 1
3 1 2 4
4 2
3 4 1 2
4 2
3 1 4 2
10 3
4 5 9 1 8 6 10 2 3 7
10 3
4 6 9 1 8 5 10 2 3 7
10 3
4 6 9 1 8 5 10 3 2 7
Output
0
0
1
0
1
-1
1823B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)