Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

Merge sort:

JOJ Answer

Merge sort:
14 1
69 1
98 1
100 1
168 1
186 1
311 1
378 1
474 1
506 1
531 1
578 1
684 1
713 1
756 1
812 1
878 1
904 1
936 1
953 1
966 1
1032 1
1076 1
1113 1
1139 1
1180 1
1444 1
1516 1
1542 1
1564 1
1639 1
1656 1
1779 1
1901 1
1972 1
1978 1
2043 1
2077 1
2136 1
2142 1
2166 1
2212 1
2359 1
2399 1
2449 1
2451 1
2617 1
2631 1
2636 1
2643 1
2719 1
2793 1
2870 1
2966 1
3071 1
3187 1
3230 1
3286 1
3346 1
3369 1
3486 1
3487 1
3502 1
3528 1
3613 1
3619 1
3670 1
3711 1
3756 1
3796 1
3826 1
3842 1
3890 1
3905 1
3950 1
3951 1
4050 1
4082 1
4091 1
4134 1
4153 1
4164 1
4180 1
4234 1
4251 1
4272 1
4286 1
4307 1
4366 1
4458 1
4589 1
4673 1
4814 1
4838 1
4872 1
4915 1
4930 1
4931 1
4939 1
4954 1
4983 1
5016 1
5019 1
5097 1
5117 1
5158 1
5227 1
5235 1
5278 1
5312 1
5330 1
5416 1
5447 1
5461 1
5545 1
5619 1
5641 1
5706 1
5709 1
5833 1
5844 1
5869 1
5975 1
6030 1
6100 1
6114 1
6186 1
6227 1
6282 1
6305 1
6310 1
6319 1
6321 1
6325 1
6338 1
6381 1
6448 1
6492 1
6509 1
6512 1
6519 1
6552 1
6564 1
6606 1
6657 1
6685 1
6712 1
6741 1