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 Time 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 (inplace):
9778363 43
9708948 36
9684079 31
9663120 0
9620508 12
9616257 33
9587961 9
9585802 10
9574860 12
9573063 39
9571814 38
9559281 33
9536356 4
9531424 16
9530594 2
9523835 11
9505486 46
9502387 19
9497496 24
9491315 35
9488274 18
9483510 6
9483369 9
9482835 3
9482430 30
9481989 21
9481512 24
9480945 33
9480720 0
9480522 42
9480450 18
9480369 33
9479496 24
9478875 27
9478092 12
9477993 9
9477777 33
9477750 6
9477462 6
9477390 30
9477327 15
9477129 9
9476391 39
9476301 45
9475878 6
9475761 33
9475662 30
9475320 24
9474942 30
9474663 39
9473187 3
9473106 18
9472611 3
9471441 33
9471252 36
9469875 3
9469848 24
9469542 6
9468732 12
9465726 30
9465717 21
9465546 42
9465186 18
9464475 27
9463269 21
9462900 36
9461199 15
9461145 9
9460362 42
9458328 24
9458112 0
9457797 21
9457035 27
9456222 30
9455736 24
9455340 12
9455196 12
9454377 9
9453396 36
9453369 9
9452654 14
9452451 3
9452397 45
9451245 45
9450750 30
9449409 33
9447735 39
9447655 7
9447492 36
9447348 36
9447267 3
9447096 24
9446979 3
9446

JOJ Answer

Quick sort (inplace):
9778363 43
9708948 36
9684079 31
9663120 0
9620508 12
9616257 33
9587961 9
9585802 10
9574860 12
9573063 39
9571814 38
9559281 33
9536356 4
9531424 16
9530594 2
9523835 11
9505486 46
9502387 19
9497496 24
9491315 35
9488274 18
9483510 6
9483369 9
9482835 3
9482430 30
9481989 21
9481512 24
9480945 33
9480720 0
9480522 42
9480450 18
9480369 33
9479496 24
9478875 27
9478092 12
9477993 9
9477777 33
9477750 6
9477462 6
9477390 30
9477327 15
9477129 9
9476391 39
9476301 45
9475878 6
9475761 33
9475662 30
9475320 24
9474942 30
9474663 39
9473187 3
9473106 18
9472611 3
9471441 33
9471252 36
9469875 3
9469848 24
9469542 6
9468732 12
9465726 30
9465717 21
9465546 42
9465186 18
9464475 27
9463269 21
9462900 36
9461199 15
9461145 9
9460362 42
9458328 24
9458112 0
9457797 21
9457035 27
9456222 30
9455736 24
9455340 12
9455196 12
9454377 9
9453396 36
9453369 9
9452654 14
9452451 3
9452397 45
9451245 45
9450750 30
9449409 33
9447735 39
9447655 7
9447492 36
9447348 36
9447267 3
9447096 24
9446979 3
9446