Special Permutation
1352G1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
610246713
Output
9 6 10 8 4 7 3 1 5 2-13 1 4 25 3 6 2 4 15 1 3 6 2 4 713 9 7 11 8 4 1 3 5 2 6 10 12
58%
1352G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)