Ordered Permutations
2040C1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
63 23 34 114 66 397 34
Output
1 3 22 3 1-12 4 3 1-12 3 4 5 7 6 1
58%
2040C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
63 23 34 114 66 397 34
1 3 22 3 1-12 4 3 1-12 3 4 5 7 6 1