Cyclic Shifts Sorting
1374F2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
551 2 3 4 555 4 3 2 188 4 5 2 3 6 7 375 2 1 6 4 7 361 2 3 3 6 4
Output
063 1 3 2 2 3132 1 1 6 4 2 4 3 3 4 4 6 6-143 3 4 4
58%
1374F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)