Yet Another Permutation Constructive
1958E1900· candidate master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
45 25 42 13 2
Output
3 1 2 5 4-11 22 1 3
58%
1958E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
45 25 42 13 2
3 1 2 5 4-11 22 1 3