Anti-Fibonacci Permutation
1644B800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
243
Output
4 1 3 21 2 4 33 4 1 22 4 1 33 2 11 3 23 1 2
58%
1644B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
243
4 1 3 21 2 4 33 4 1 22 4 1 33 2 11 3 23 1 2