cf/mirror

Permutation

CF
1701B800· newbie2s256 MB⌨ stdin/stdout
#greedy

Examples

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