Permutations Harmony
2034E2200· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
43 34 25 13 2
Output
YES1 2 32 3 13 1 2YES1 2 3 44 3 2 1NOYES1 2 33 2 1
58%
2034E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)