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 Runtime Error. 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
Merge sort:
JOJ Answer
Merge sort: 15 48 40 48 66 48 83 48 98 48 159 48 293 48 323 48 476 48 514 48 535 48 540 48 612 48 723 48 771 48 782 48 913 48 1034 48 1042 48 1049 48 1067 48 1096 48 1323 48 1348 48 1381 48 1529 48 1542 48 1583 48 1611 48 1616 48 1618 48 1749 48 1768 48 1798 48 1836 48 1852 48 1913 48 1969 48 2025 48 2375 48 2381 48 2443 48 2449 48 2540 48 2569 48 2646 48 2672 48 2697 48 2735 48 2779 48 2796 48 2902 48 2940 48 2957 48 2962 48 3017 48 3089 48 3101 48 3180 48 3274 48 3405 48 3527 48 3539 48 3595 48 3610 48 3639 48 3670 48 3909 48 3966 48 3997 48 4094 48 4192 48 4287 48 4375 48 4375 48 4409 48 4702 48 4795 48 4816 48 4822 48 4841 48 4853 48 4921 48 4959 48 5042 48 5072 48 5079 48 5271 48 5276 48 5315 48 5813 48 5893 48 5912 48 5938 48 6187 48 6225 48 6250 48 6337 48 6516 48 6538 48 6676 48 6759 48 6776 48 6782 48 6817 48 6868 48 6999 48 7146 48 7254 48 7283 48 7307 48 7330 48 7357 48 7363 48 7530 48 7606 48 7688 48 7780 48 7937 48 8038 48 8156 48 8394 48 8408 48 8514 48 8606 48 8658 48 8669 48 8684 48 8917 48 90