Permutation Restoration
1701D1900· candidate master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
440 2 0 121 150 0 1 4 130 1 3
Output
2 1 4 31 23 4 2 1 53 2 1
58%
1701D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)