Kyoya and Permutation
553B1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 3
Output
1 3 2 4
Sample 2of 2
Input
10 1
Output
1 2 3 4 5 6 7 8 9 10
58%
553B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 3
1 3 2 4
10 1
1 2 3 4 5 6 7 8 9 10