Restore the Permutation
1759G1900· candidate master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
664 3 642 488 7 2 366 4 244 488 7 4 5
Output
1 4 2 3 5 61 2 3 4-15 6 3 4 1 2-11 8 6 7 2 4 3 5
58%
1759G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)