Guess the Permutation
618B1100· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
20 11 0
Output
2 1
Sample 2of 2
Input
50 2 2 1 22 0 4 1 32 4 0 1 31 1 1 0 12 3 3 1 0
Output
2 5 4 1 3
58%
618B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)