cf/mirror

Permutation

CF
359B1400· specialist1s256 MB⌨ stdin/stdout

Examples

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