Permutation Sorting
1896E2100· master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
253 2 4 1 562 1 4 6 5 3
Output
1 0 1 1 02 1 2 1 0 1
58%
1896E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
253 2 4 1 562 1 4 6 5 3
1 0 1 1 02 1 2 1 0 1