Special Permutation
1612B900· newbie2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
76 2 56 1 36 4 34 2 410 5 32 1 22 2 1
Output
4 2 6 5 3 1-16 4 5 1 3 23 2 4 1-11 22 1
58%
1612B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
76 2 56 1 36 4 34 2 410 5 32 1 22 2 1
4 2 6 5 3 1-16 4 5 1 3 23 2 4 1-11 22 1