cf/mirror

Anti-Fibonacci Permutation

CF
1644B800· newbie2s256 MB⌨ stdin/stdout

Examples

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