Notes
This function is in beta test. Please help improve it in the issues
here.
1000 int 0 append gVP81eXNEL 232 1 sort inc 2 append yudr9aAGFUNMV1E -5940 3 append 7p3EBYAeujWtV 61030 4 append yTXgk -3638 5 append y8vmiW1Tjn -42211 6 append FgVO27ToPd0 -55412 7 append wbRB54IxYdESV -8423 8 append NCzy0WeiT8jZwH 21415 9 append pTOEMG -7280 10 append MlwrfTFZ6AJViY -61504 11 append cRuOgwf7D -4178 12 append M4LUQJb5Zvl 8992 13 append 7gO4B2ZvmGa -7843 14 append Un2Ph 19777 15 append WMdJDK1O 25408 16 empty 17 append SBym0zI84V2 42569 18 append Slsc9HqCPGDWiy -57459 19 append 670p4qZnQA9bvhw -18691 20 append jAKngvR6CkTsNHt 25920 21 append 5YCiP -53358 22 append 39vGocEj8we4Z 18322 23 append rjKAbqOi8hVozU 37617 24 append pQ8mwRL6yM 40245 25 append agXy73ZPf -60786 26 append TWYs0pQC9gAV -11655 27 append xQB1tNZkugwWCm -40093 28 sort dec ================================================================= ==533==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030000000a8 at pc 0x00000051924d bp 0x7ffc6b7cfcf0 sp 0x7ffc6b7cfce8 READ of size 8 at 0x6030000000a8 thread T0 #0 0x5192
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 gVP81eXNEL=232 gVP81eXNEL=232 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 false 17 18 19 20 21 22 23 24 25 26 27 28 gVP81eXNEL=232 yudr9aAGFUNMV1E=-5940 7p3EBYAeujWtV=61030 yTXgk=-3638 y8vmiW1Tjn=-42211 FgVO27ToPd0=-55412 wbRB54IxYdESV=-8423 NCzy0WeiT8jZwH=21415 pTOEMG=-7280 MlwrfTFZ6AJViY=-61504 cRuOgwf7D=-4178 M4LUQJb5Zvl=8992 7gO4B2ZvmGa=-7843 Un2Ph=19777 WMdJDK1O=25408 SBym0zI84V2=42569 Slsc9HqCPGDWiy=-57459 670p4qZnQA9bvhw=-18691 jAKngvR6CkTsNHt=25920 5YCiP=-53358 39vGocEj8we4Z=18322 rjKAbqOi8hVozU=37617 pQ8mwRL6yM=40245 agXy73ZPf=-60786 TWYs0pQC9gAV=-11655 xQB1tNZkugwWCm=-40093 7p3EBYAeujWtV=61030 SBym0zI84V2=42569 pQ8mwRL6yM=40245 rjKAbqOi8hVozU=37617 jAKngvR6CkTsNHt=25920 WMdJDK1O=25408 NCzy0WeiT8jZwH=21415 Un2Ph=19777 39vGocEj8we4Z=18322 M4LUQJb5Zvl=8992 gVP81eXNEL=232 yTXgk=-3638 cRuOgwf7D=-4178 yudr9aAGFUNMV1E=-5940 pTOEMG=-7280 7gO4B2ZvmGa=-7843 wbRB54IxYdESV=-8423 TWYs0pQC9gAV=-11655 670p4qZnQA9bvhw=-18691 xQB1tNZkugwWCm=-40093 y8vmiW1Tjn=-42211 5YCiP=-53358 FgVO27ToPd0=-55412 Slsc9HqCPGDWiy=-57459