cf/mirror

Best Permutation

CF
1728B800· newbie2s256 MB⌨ stdin/stdout

Examples

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