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 Time 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: 2359136 3385 2358906 3385 2358306 3385 2357970 3385 2357908 3385 2357697 3385 2357478 3385 2357160 3385 2356983 3385 2356873 3385 2356440 3385 2356207 3385 2355984 3385 2355874 3385 2355631 3385 2355553 3385 2355514 3385 2355363 3385 2355325 3385 2355219 3385 2355059 3385 2355048 3385 2354791 3385 2354642 3385 2354519 3385 2354516 3385 2354409 3385 2354406 3385 2354263 3385 2354078 3385 2353777 3385 2353741 3385 2353618 3385 2353227 3385 2352486 3385 2352350 3385 2352028 3385 2351782 3385 2351702 3385 2351453 3385 2351218 3385 2351134 3385 2351011 3385 2350947 3385 2350923 3385 2350828 3385 2350775 3385 2350680 3385 2350502 3385 2350369 3385 2350309 3385 2349905 3385 2349810 3385 2349681 3385 2348718 3385 2347730 3385 2347342 3385 2347285 3385 2346950 3385 2346085 3385 2345556 3385 2345423 3385 2345422 3385 2345172 3385 2344849 3385 2344740 3385 2344728 3385 2343946 3385 2343660 3385 2343039 3385 2342831 3385 2342561 3385 2342013 3385 2341949 3385 2341893 3385 2341708 3385 2341513 3385 2340805 338