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
Merge sort:
JOJ Answer
Merge sort: 32 48 47 48 190 48 310 48 316 48 783 48 1187 48 1344 48 1491 48 1575 48 1632 48 1633 48 1644 48 1812 48 1830 48 1861 48 1939 48 2011 48 2130 48 2136 48 2305 48 2599 48 2633 48 2790 48 2862 48 3448 48 3480 48 3527 48 3555 48 3702 48 3820 48 4122 48 4132 48 4247 48 4265 48 4329 48 5277 48 5657 48 6200 48 6233 48 6300 48 6432 48 6492 48 6628 48 6700 48 6777 48 7059 48 7209 48 7401 48 7635 48 7786 48 7808 48 8185 48 8200 48 8210 48 8652 48 8675 48 8778 48 8815 48 9084 48 9184 48 9236 48 9482 48 9507 48 9540 48 9909 48 10335 48 10485 48 10513 48 10551 48 10623 48 10646 48 10920 48 10987 48 11067 48 11323 48 11336 48 11347 48 11463 48 11498 48 11553 48 11672 48 11674 48 11951 48 11985 48 12039 48 12078 48 12310 48 12337 48 12719 48 12769 48 12986 48 13172 48 13192 48 13224 48 13305 48 13772 48 13853 48 13934 48 13981 48 14093 48 14115 48 14219 48 14407 48 14574 48 14633 48 14638 48 14801 48 14847 48 14885 48 14898 48 14933 48 14963 48 15076 48 15321 48 15419 48 15741 48 15788 48 15972 48 15988 48 16114