cf/mirror

Fun Permutation

CF
2137B900· newbie2s256 MB⌨ stdin/stdout

Examples

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