Notes
This function is in beta test. Please help improve it in the issues
here.
100 str 0 append EjqhR2yJM HmA 1 print 2 append HQ4lE1siJC owvM 3 append DjVatRJU7LFw kqv 4 append KgtX0TGCsjHc cwTk6 5 append j7Q8qLnUdlGE 7oG2k 6 append jav9cxVS8mT J0G 7 append z5MjQ3mhPCx X0quv 8 append Au9DBKMPHIQ1 fuB 9 sort inc ================================================================= ==487==ERROR: AddressSanitizer: heap-use-after-free on address 0x610000000058 at pc 0x000000516e41 bp 0x7ffc0e09f980 sp 0x7ffc0e09f978 READ of size 8 at 0x610000000058 thread T0 #0 0x516e40 (/out/package/main+0x516e40) #1 0x51537d (/out/package/main+0x51537d) #2 0x7f4842c45b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x41cac9 (/out/package/main+0x41cac9) 0x610000000058 is located 24 bytes inside of 192-byte region [0x610000000040,0x610000000100) freed by thread T0 here: #0 0x4dc7b0 (/out/package/main+0x4dc7b0) #1 0x516b4d (/out/package/main+0x516b4d) #2 0x51537d (/out/package/main+0x51537d) #3 0x7f4842c45b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) previously allocate
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 EjqhR2yJM=HmA 2 3 4 5 6 7 8 9 EjqhR2yJM=HmA HQ4lE1siJC=owvM DjVatRJU7LFw=kqv KgtX0TGCsjHc=cwTk6 j7Q8qLnUdlGE=7oG2k jav9cxVS8mT=J0G z5MjQ3mhPCx=X0quv Au9DBKMPHIQ1=fuB j7Q8qLnUdlGE=7oG2k EjqhR2yJM=HmA jav9cxVS8mT=J0G z5MjQ3mhPCx=X0quv KgtX0TGCsjHc=cwTk6 Au9DBKMPHIQ1=fuB DjVatRJU7LFw=kqv HQ4lE1siJC=owvM 10 11 12 13 14 15 16 17 18 EjqhR2yJM=HmA HQ4lE1siJC=owvM DjVatRJU7LFw=kqv KgtX0TGCsjHc=cwTk6 j7Q8qLnUdlGE=7oG2k jav9cxVS8mT=J0G z5MjQ3mhPCx=X0quv Au9DBKMPHIQ1=fuB vsakfG=lz6sI HjnF84wsO=wBi p6wHc=Rmt TAlr02vBVwM9J=bp5a aQgJsy=2lv AvCsh5KL=erN7y klVjFOuRMWc=m9B d2vnIfOKG1PuFl=el2 HjnF84wsO=wBi HQ4lE1siJC=owvM klVjFOuRMWc=m9B vsakfG=lz6sI DjVatRJU7LFw=kqv Au9DBKMPHIQ1=fuB AvCsh5KL=erN7y d2vnIfOKG1PuFl=el2 KgtX0TGCsjHc=cwTk6 TAlr02vBVwM9J=bp5a z5MjQ3mhPCx=X0quv p6wHc=Rmt jav9cxVS8mT=J0G EjqhR2yJM=HmA j7Q8qLnUdlGE=7oG2k aQgJsy=2lv 19 20 21 22 23 EjqhR2yJM=HmA HQ4lE1siJC=owvM DjVatRJU7LFw=kqv KgtX0TGCsjHc=cwTk6 j7Q8qLnUdlGE=7oG2k jav9cxVS8mT=J0G z5MjQ3mhPCx=X0quv Au9DBKMPHIQ1=fuB vsakfG=lz6sI HjnF84wsO=wBi p6wHc=R