Notes
This function is in beta test. Please help improve it in the issues
here.
100 int 0 append L619asTm -36876 1 append fwnAoN4Ig 44998 2 append YJQFrK0fwNHXZRq -11440 3 append FLAiuYpE 65359 4 append daYCu5c7DW2b -11006 5 append MVudPk0Af8G6 11531 6 append pYaxK 43758 7 append uSMGF -34549 8 append TJeQDRb20 34186 9 append vMxC9w4hy 36845 10 append Uw1jOTPqNRd -49806 11 append Qg9m7PU 41544 12 append NVTK7tHMUker0R1 -7523 13 append FGloLg 64519 14 append s1LAxDE -33213 15 append BfZ6d7O 42186 16 append H59j40 -63184 17 empty 18 append IQA9fnzk -52162 19 append 01gT4WDyc2X -31631 20 append D1MzHv 18871 21 append 9QlmKBbknqzepW -10402 22 append 35RruwcQCVMxLsN 25160 23 empty 24 append FY5fnxd 207 25 print 26 append 5ZfKXW3AGFImB 211 27 append D8qdWc4ZGYA 54435 28 append F6CW0KkA5Rc -61567 29 sort dec ================================================================= ==285==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000351 at pc 0x0000004db6ec bp 0x7ffc76f64600 sp 0x7ffc76f63db0 WRITE of size 24 at 0x602000000351 thread T0 #0 0x4db6eb (/out/package/main+0x4db6eb
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 false 18 19 20 21 22 23 false 24 25 L619asTm=-36876 fwnAoN4Ig=44998 YJQFrK0fwNHXZRq=-11440 FLAiuYpE=65359 daYCu5c7DW2b=-11006 MVudPk0Af8G6=11531 pYaxK=43758 uSMGF=-34549 TJeQDRb20=34186 vMxC9w4hy=36845 Uw1jOTPqNRd=-49806 Qg9m7PU=41544 NVTK7tHMUker0R1=-7523 FGloLg=64519 s1LAxDE=-33213 BfZ6d7O=42186 H59j40=-63184 IQA9fnzk=-52162 01gT4WDyc2X=-31631 D1MzHv=18871 9QlmKBbknqzepW=-10402 35RruwcQCVMxLsN=25160 FY5fnxd=207 26 27 28 29 L619asTm=-36876 fwnAoN4Ig=44998 YJQFrK0fwNHXZRq=-11440 FLAiuYpE=65359 daYCu5c7DW2b=-11006 MVudPk0Af8G6=11531 pYaxK=43758 uSMGF=-34549 TJeQDRb20=34186 vMxC9w4hy=36845 Uw1jOTPqNRd=-49806 Qg9m7PU=41544 NVTK7tHMUker0R1=-7523 FGloLg=64519 s1LAxDE=-33213 BfZ6d7O=42186 H59j40=-63184 IQA9fnzk=-52162 01gT4WDyc2X=-31631 D1MzHv=18871 9QlmKBbknqzepW=-10402 35RruwcQCVMxLsN=25160 FY5fnxd=207 5ZfKXW3AGFImB=211 D8qdWc4ZGYA=54435 F6CW0KkA5Rc=-61567 FLAiuYpE=65359 FGloLg=64519 D8qdWc4ZGYA=54435 fwnAoN4Ig=44998 pYaxK=43758 BfZ6d7O=42186 Qg9m7PU=41544 vMxC9w4hy=368