cf/mirror

Permutation Sorting

CF
1896E2100· master4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
2
5
3 2 4 1 5
6
2 1 4 6 5 3
Output
1 0 1 1 0
2 1 2 1 0 1
1896E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)