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: 2358945 3385 2358777 3385 2358739 3385 2358578 3385 2358555 3385 2358486 3385 2358259 3385 2358252 3385 2358179 3385 2357684 3385 2357671 3385 2357650 3385 2357640 3385 2357591 3385 2357580 3385 2357558 3385 2357316 3385 2357306 3385 2357278 3385 2357276 3385 2357257 3385 2357204 3385 2357155 3385 2356824 3385 2356753 3385 2356743 3385 2356703 3385 2356582 3385 2356517 3385 2356487 3385 2356434 3385 2356317 3385 2356253 3385 2356154 3385 2356102 3385 2355900 3385 2355840 3385 2355692 3385 2355593 3385 2355393 3385 2355374 3385 2355350 3385 2355238 3385 2355193 3385 2355122 3385 2355117 3385 2355100 3385 2355084 3385 2354989 3385 2354891 3385 2354889 3385 2354825 3385 2354809 3385 2354736 3385 2354677 3385 2354632 3385 2354521 3385 2354364 3385 2354358 3385 2354071 3385 2354061 3385 2353969 3385 2353818 3385 2353815 3385 2353771 3385 2353764 3385 2353714 3385 2353676 3385 2353671 3385 2353622 3385 2353467 3385 2353437 3385 2353395 3385 2353355 3385 2353347 3385 2353295 3385 2353266 3385 2353235 338