Notes
This function is in beta test. Please help improve it in the issues
here.
50 double 0 append UV2jLybS9koW 0.9725369947835332 1 append oIvQipceag8nsA 0.5708462308355479 2 append nrGJqjfoWlQ5MV 0.43175000510848416 3 append YjxPn 0.864652162267834 4 append 7cVB4Pmk 0.6311592493913654 5 append BRLxvf9biu 0.9845808331230198 6 print 7 append 2P03E8Inf 0.028503514805242602 8 sort inc /in/dlist.c:121:8: runtime error: member access within null pointer of type 'dlistNode' (aka 'struct dlistNode_t') SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dlist.c:121:8 in AddressSanitizer:DEADLYSIGNAL ================================================================= ==450==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x0000005160f1 bp 0x7ffe6aa68130 sp 0x7ffe6aa680c0 T0) ==450==The signal is caused by a WRITE memory access. ==450==Hint: address points to the zero page. #0 0x5160f0 (/out/package/main+0x5160f0) #1 0x51537d (/out/package/main+0x51537d) #2 0x7fc352633b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x41cac9 (/out/package/main+0x41ca
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 UV2jLybS9koW=0.972537 oIvQipceag8nsA=0.570846 nrGJqjfoWlQ5MV=0.431750 YjxPn=0.864652 7cVB4Pmk=0.631159 BRLxvf9biu=0.984581 7 8 UV2jLybS9koW=0.972537 oIvQipceag8nsA=0.570846 nrGJqjfoWlQ5MV=0.431750 YjxPn=0.864652 7cVB4Pmk=0.631159 BRLxvf9biu=0.984581 2P03E8Inf=0.028504 2P03E8Inf=0.028504 nrGJqjfoWlQ5MV=0.431750 oIvQipceag8nsA=0.570846 7cVB4Pmk=0.631159 YjxPn=0.864652 UV2jLybS9koW=0.972537 BRLxvf9biu=0.984581 9 10 11 12 false 13 14 15 16 UV2jLybS9koW=0.972537 oIvQipceag8nsA=0.570846 nrGJqjfoWlQ5MV=0.431750 YjxPn=0.864652 7cVB4Pmk=0.631159 BRLxvf9biu=0.984581 2P03E8Inf=0.028504 YBg9K1btLqUy=0.421995 m4vqV7a=0.113280 lx3YT07HSGUF=0.384810 vXLCa=0.275531 VUzwXxtIrBl7=0.995125 RC6rcUM8kVA=0.030069 2P03E8Inf=0.028504 RC6rcUM8kVA=0.030069 m4vqV7a=0.113280 vXLCa=0.275531 lx3YT07HSGUF=0.384810 YBg9K1btLqUy=0.421995 nrGJqjfoWlQ5MV=0.431750 oIvQipceag8nsA=0.570846 7cVB4Pmk=0.631159 YjxPn=0.864652 UV2jLybS9koW=0.972537 BRLxvf9biu=0.984581 VUzwXxtIrBl7=0.995125 17 18 19 20 21 22 UV2jLybS9koW=0.972537 oIvQipce