Polycarp Recovers the Permutation
1611C1000· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
441 3 2 41151 3 5 4 233 2 1
Output
3 1 4 21-12 3 1
58%
1611C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
441 3 2 41151 3 5 4 233 2 1
3 1 4 21-12 3 1