cf/mirror

Yet Another Permutation Problem

CF
1858C1000· newbie2s256 MB⌨ stdin/stdout

Examples

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