Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

50 double
0 append UV2jLybS9koW 0.9725369947835332
/in/dlist.c:99:3: runtime error: index 3 out of bounds for type 'void (*[3])(void **, void *)'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dlist.c:99:3 in 
=================================================================
==528==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffd75810d78 at pc 0x0000005170a3 bp 0x7ffd75810d30 sp 0x7ffd75810d28
READ of size 8 at 0x7ffd75810d78 thread T0
    #0 0x5170a2  (/out/package/main+0x5170a2)
    #1 0x519a8c  (/out/package/main+0x519a8c)
    #2 0x515327  (/out/package/main+0x515327)
    #3 0x7f19c2eb0b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x41cac9  (/out/package/main+0x41cac9)

Address 0x7ffd75810d78 is located in stack of thread T0 at offset 56 in frame
    #0 0x5167ff  (/out/package/main+0x5167ff)

  This frame has 1 object(s):
    [32, 56) 'cpys.i' <== Memory access at offset 56 overflows this variable
HINT: this may be a false positive if your program uses some custom stack

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