Game on Permutation
1860C1400· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
432 1 322 131 2 342 1 4 3
Output
1012
58%
1860C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
432 1 322 131 2 342 1 4 3
1012