Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Quick sort (inplace):
JOJ Answer
Quick sort (inplace): 9820892 44 9800804 20 9799688 8 9792434 2 9766208 32 9765590 38 9748933 37 9746890 10 9741467 11 9739796 20 9734960 32 9709292 44 9706905 9 9705937 1 9703064 8 9700701 45 9699953 17 9698552 8 9697800 24 9696712 40 9696365 29 9688526 14 9685180 28 9684640 16 9683530 10 9679805 29 9676939 43 9674708 20 9674324 20 9673952 32 9670781 29 9669036 12 9664280 8 9663926 38 9661118 14 9659532 12 9659448 24 9655905 33 9651248 32 9650975 47 9646424 8 9645329 17 9644829 45 9644031 15 9641983 31 9641400 24 9638612 20 9637869 45 9636752 32 9635879 23 9635675 11 9635534 14 9634745 41 9634689 33 9634182 6 9629498 26 9624966 6 9624779 11 9624539 11 9623405 29 9623283 3 9615845 5 9615362 2 9614900 20 9611084 44 9606212 20 9604945 1 9603362 2 9602526 30 9602526 30 9601316 20 9598064 32 9595646 14 9593600 32 9592595 35 9591368 8 9586718 14 9584172 12 9583655 23 9583655 23 9580460 44 9576179 35 9576164 20 9575153 17 9573915 27 9568595 35 9564209 17 9562619 11 9562325 5 9562064 32 9561806 14 9561114 42 9558389