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

Quick sort:

JOJ Answer

Quick sort:
2 2
10 10
12 12
39 39
47 47
48 0
53 5
55 7
56 8
65 17
75 27
75 27
75 27
84 36
96 0
117 21
123 27
123 27
123 27
123 27
129 33
160 16
171 27
182 38
189 45
199 7
213 21
235 43
237 45
239 47
255 15
255 15
264 24
267 27
273 33
287 47
299 11
304 16
305 17
306 18
309 21
309 21
316 28
329 41
337 1
345 9
355 19
357 21
364 28
375 39
375 39
380 44
393 9
401 17
402 18
405 21
405 21
405 21
417 33
420 36
420 36
420 36
435 3
440 8
449 17
453 21
464 32
467 35
480 0
501 21
507 27
525 45
527 47
547 19
563 35
569 41
570 42
570 42
584 8
591 15
595 19
604 28
615 39
617 41
640 16
648 24
673 1
674 2
675 3
681 9
693 21
695 23
705 33
705 33
705 33
705 33
731 11
732 12
732 12
759 39
761 41
765 45
777 9
782 14
783 15
805 37
809 41
810 42
819 3
824 8
828 12
830 14
835 19
849 33
876 12
879 15
896 32
925 13
927 15
927 15
927 15
940 28
941 29
942 30
943 31
948 36
949 37
952 40
969 9
971 11
980 20
990 30
993 33
997 37
1020 12
1025 17
1025 17
1025 17
1032 24
1034 26
1037 29
1050 42
1065 9
1066 10
1077 21
1085 29
1107 3
1109 5
111