cf/mirror

Permutation Forgery

CF
1405A800· newbie1s256 MB⌨ stdin/stdout

Examples

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