cf/mirror

The 67th Permutation Problem

CF
2218C800· newbie2s256 MB⌨ stdin/stdout

Examples

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