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 -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Quick sort:
JOJ Answer
Quick sort: 2359175 3385 2359172 3385 2359170 3385 2359078 3385 2359032 3385 2358971 3385 2358845 3385 2358822 3385 2358740 3385 2358734 3385 2358453 3385 2358377 3385 2358369 3385 2358352 3385 2357852 3385 2357834 3385 2357753 3385 2357625 3385 2357319 3385 2357050 3385 2356820 3385 2356457 3385 2356390 3385 2356345 3385 2356260 3385 2356134 3385 2355760 3385 2355668 3385 2355240 3385 2355217 3385 2355164 3385 2355160 3385 2355037 3385 2354807 3385 2354734 3385 2354660 3385 2354642 3385 2354596 3385 2354031 3385 2353941 3385 2353934 3385 2353907 3385 2353723 3385 2353548 3385 2353529 3385 2353214 3385 2353101 3385 2352974 3385 2352734 3385 2352611 3385 2352588 3385 2352414 3385 2352405 3385 2352398 3385 2352395 3385 2352288 3385 2351943 3385 2351753 3385 2351614 3385 2351569 3385 2351108 3385 2350875 3385 2350785 3385 2350717 3385 2350652 3385 2350605 3385 2350526 3385 2350401 3385 2350375 3385 2349981 3385 2349949 3385 2349793 3385 2349712 3385 2349649 3385 2349605 3385 2349537 3385 2349417 3385 2349208 338