Make It Permutation
2118B1200· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
234
Output
42 1 32 2 33 1 23 2 352 1 43 1 33 2 44 3 44 1 2
58%
2118B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
234
42 1 32 2 33 1 23 2 352 1 43 1 33 2 44 3 44 1 2