Lucky Sorting
109D2000· candidate master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
24 7
Output
0
Sample 2of 3
Input
34 2 1
Output
11 3
Sample 3of 3
Input
777 66 55 44 33 22 11
Output
71 77 22 66 73 45 34 5
58%
109D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)