cf/mirror

Restore Permutation

CF
1208D1900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
0 0 0
Output
3 2 1
Sample 2of 3
Input
2
0 1
Output
1 2
Sample 3of 3
Input
5
0 1 1 1 10
Output
1 4 3 2 5
1208D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)