cf/mirror

Perfect Permutation

CF
233A800· newbie2s256 MB⌨ stdin/stdout

Examples

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