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.

Please double check your code to solve this problem and try again.

Your Answer

Merge sort:
3 1
14 1
16 1
27 1
28 1
38 1
45 1
52 1
77 1
84 1
93 1
103 1
115 1
116 1
118 1
120 1
126 1
128 1
131 1
155 1
157 1
164 1
165 1
167 1
171 1
176 1
177 1
186 1
188 1
189 1
204 1
206 1
207 1
208 1
212 1
216 1
223 1
228 1
229 1
230 1
236 1
240 1
243 1
245 1
252 1
253 1
257 1
271 1
279 1
280 1
285 1
294 1
296 1
299 1
310 1
312 1
314 1
316 1
324 1
325 1
327 1
331 1
332 1
336 1
339 1
344 1
348 1
350 1
367 1
369 1
381 1
385 1
389 1
391 1
393 1
395 1
397 1
400 1
407 1
424 1
425 1
435 1
439 1
447 1
448 1
450 1
451 1
458 1
462 1
477 1
478 1
485 1
490 1
492 1
493 1
506 1
510 1
514 1
518 1
519 1
523 1
530 1
531 1
538 1
539 1
541 1
544 1
546 1
547 1
552 1
561 1
563 1
565 1
574 1
584 1
586 1
591 1
592 1
595 1
597 1
611 1
613 1
619 1
620 1
622 1
627 1
629 1
630 1
636 1
640 1
646 1
647 1
649 1
651 1
668 1
682 1
684 1
689 1
696 1
698 1
710 1
713 1
717 1
718 1
727 1
734 1
745 1
752 1
755 1
772 1
789 1
791 1
794 1
801 1
804 1
808 1
811 1
818 1
819 1
823 1
825 1
832 1
833 1
842 1
844 1
845 1
852 1
856 1
860 1
863 1
869 

JOJ Answer

Merge sort:
3 1
14 1
16 1
27 1
28 1
38 1
45 1
52 1
77 1
84 1
93 1
103 1
115 1
116 1
118 1
120 1
126 1
128 1
131 1
155 1
157 1
164 1
165 1
167 1
171 1
176 1
177 1
186 1
188 1
189 1
204 1
206 1
207 1
208 1
212 1
216 1
223 1
228 1
229 1
230 1
236 1
240 1
243 1
245 1
252 1
253 1
257 1
271 1
279 1
280 1
285 1
294 1
296 1
299 1
310 1
312 1
314 1
316 1
324 1
325 1
327 1
331 1
332 1
336 1
339 1
344 1
348 1
350 1
367 1
369 1
381 1
385 1
389 1
391 1
393 1
395 1
397 1
400 1
407 1
424 1
425 1
435 1
439 1
447 1
448 1
450 1
451 1
458 1
462 1
477 1
478 1
485 1
490 1
492 1
493 1
506 1
510 1
514 1
518 1
519 1
523 1
530 1
531 1
538 1
539 1
541 1
544 1
546 1
547 1
552 1
561 1
563 1
565 1
574 1
584 1
586 1
591 1
592 1
595 1
597 1
611 1
613 1
619 1
620 1
622 1
627 1
629 1
630 1
636 1
640 1
646 1
647 1
649 1
651 1
668 1
682 1
684 1
689 1
696 1
698 1
710 1
713 1
717 1
718 1
727 1
734 1
745 1
752 1
755 1
772 1
789 1
791 1
794 1
801 1
804 1
808 1
811 1
818 1
819 1
823 1
825 1
832 1
833 1
842 1
844 1
845 1
852 1
856 1
860 1
863 1
869