Copium Permutation
1827F3500· legendary gm2s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
555 2 1 4 342 1 4 31187 5 8 1 4 2 6 3101 4 5 3 7 8 9 2 10 6
Output
15 15 11 10 9 910 8 8 7 71 136 30 25 19 15 13 12 9 955 55 41 35 35 25 22 22 19 17 17
58%
1827F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)