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 Memory Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Quick sort:
JOJ Answer
Quick sort: 2358999 3385 2358978 3385 2358909 3385 2358908 3385 2358877 3385 2358819 3385 2358557 3385 2358519 3385 2358510 3385 2358481 3385 2358317 3385 2358276 3385 2358210 3385 2358095 3385 2358052 3385 2358032 3385 2357985 3385 2357513 3385 2357238 3385 2356975 3385 2356823 3385 2356718 3385 2356381 3385 2356232 3385 2356210 3385 2356195 3385 2356157 3385 2356091 3385 2355770 3385 2355538 3385 2355397 3385 2355294 3385 2354935 3385 2354816 3385 2354747 3385 2354528 3385 2354277 3385 2354111 3385 2354091 3385 2354050 3385 2354037 3385 2353532 3385 2353474 3385 2353409 3385 2353390 3385 2353240 3385 2353118 3385 2352789 3385 2352784 3385 2352634 3385 2352548 3385 2352487 3385 2352153 3385 2352068 3385 2351962 3385 2351648 3385 2351386 3385 2351382 3385 2351249 3385 2351233 3385 2350974 3385 2350959 3385 2350860 3385 2350835 3385 2350828 3385 2350696 3385 2350592 3385 2350516 3385 2350346 3385 2350059 3385 2349881 3385 2349738 3385 2349726 3385 2349556 3385 2349380 3385 2349020 3385 2348889 3385 2348863 338