Shifting Sort
1579B1100· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
422 131 2 142 4 1 352 5 1 4 3
Output
11 2 111 3 232 4 12 3 11 3 242 4 21 5 31 2 11 3 1
58%
1579B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
422 131 2 142 4 1 352 5 1 4 3
11 2 111 3 232 4 12 3 11 3 242 4 21 5 31 2 11 3 1