cf/mirror

Lucky Permutation

CF
286A1400· specialist2s256 MB⌨ stdin/stdout

Examples

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