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

Quick sort (inplace):
9842947 19
9841789 13
9826852 4
9822067 19
9817171 19
9816232 40
9802656 0
9800641 1
9799478 38
9796261 37
9794528 32
9793724 44
9786790 22
9786737 17
9783022 46
9782239 31
9780171 27
9779894 38
9779533 13
9779169 33
9778132 4
9772292 20
9770520 24
9769234 34
9768127 31
9767952 0
9767024 32
9764954 26
9761173 37
9760906 10
9756810 42
9754679 23
9753952 16
9753097 25
9752213 5
9749078 38
9748734 30
9748312 40
9746930 2
9746084 20
9746040 24
9744039 39
9743213 29
9742387 19
9742128 0
9741541 37
9741336 24
9741127 7
9740064 0
9737018 26
9736980 36
9736844 44
9735576 24
9734432 32
9734287 31
9732189 45
9730230 6
9730106 26
9729328 16
9729157 37
9728734 46
9728114 2
9724752 0
9724030 46
9722790 6
9721108 4
9720392 8
9719876 20
9717278 14
9716427 27
9716153 41
9713080 40
9709549 13
9705178 10
9704516 20
9704077 13
9700346 26
9700232 8
9699850 10
9699337 25
9698491 43
9697978 10
9696957 45
9696385 1
9696139 43
9695527 7
9695120 32
9694332 12
9691711 31
9690825 9
9689542 22
9689434 10
9688566 6

JOJ Answer

Quick sort (inplace):
9842947 19
9841789 13
9826852 4
9822067 19
9817171 19
9816232 40
9802656 0
9800641 1
9799478 38
9796261 37
9794528 32
9793724 44
9786790 22
9786737 17
9783022 46
9782239 31
9780171 27
9779894 38
9779533 13
9779169 33
9778132 4
9772292 20
9770520 24
9769234 34
9768127 31
9767952 0
9767024 32
9764954 26
9761173 37
9760906 10
9756810 42
9754679 23
9753952 16
9753097 25
9752213 5
9749078 38
9748734 30
9748312 40
9746930 2
9746084 20
9746040 24
9744039 39
9743213 29
9742387 19
9742128 0
9741541 37
9741336 24
9741127 7
9740064 0
9737018 26
9736980 36
9736844 44
9735576 24
9734432 32
9734287 31
9732189 45
9730230 6
9730106 26
9729328 16
9729157 37
9728734 46
9728114 2
9724752 0
9724030 46
9722790 6
9721108 4
9720392 8
9719876 20
9717278 14
9716427 27
9716153 41
9713080 40
9709549 13
9705178 10
9704516 20
9704077 13
9700346 26
9700232 8
9699850 10
9699337 25
9698491 43
9697978 10
9696957 45
9696385 1
9696139 43
9695527 7
9695120 32
9694332 12
9691711 31
9690825 9
9689542 22
9689434 10
9688566 6