Record Case Detail

Notes

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

Stderr

=================================================================
==21839==ERROR: AddressSanitizer: heap-use-after-free on address 0x6060000016d0 at pc 0x00000051c395 bp 0x7ffca669b290 sp 0x7ffca669b288
READ of size 8 at 0x6060000016d0 thread T0
    #0 0x51c394  (/out/package/test_decom+0x51c394)
    #1 0x52b970  (/out/package/test_decom+0x52b970)
    #2 0x52c04d  (/out/package/test_decom+0x52c04d)
    #3 0x7f46e99b7b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x41f909  (/out/package/test_decom+0x41f909)

0x6060000016d0 is located 48 bytes inside of 56-byte region [0x6060000016a0,0x6060000016d8)
freed by thread T0 here:
    #0 0x518ae8  (/out/package/test_decom+0x518ae8)
    #1 0x51ca02  (/out/package/test_decom+0x51ca02)
    #2 0x51ca4c  (/out/package/test_decom+0x51ca4c)
    #3 0x5241e4  (/out/package/test_decom+0x5241e4)
    #4 0x52c081  (/out/package/test_decom+0x52c081)
    #5 0x7f46e99b7b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

previously allocated by thread T0 here:
    #0 0x517d70  (/ou

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

dog goes woof
cat goes meow
bird goes tweet
and mouse goes squeek
cow goes moo
frog goes croak
and the elephant goes toot
ducks say quack
and fish go blub
and the seal goes ow ow ow
but theres one sound
that no one knows
what does the fox say
ringdingdingdingdingeringeding
geringdingdingdingdingeringeding
geringdingdingdingdingeringeding
what the fox say
wapapapapapapow
wapapapapapapow
wapapapapapapow
what the fox say
hateehateehateeho
hateehateehateeho
hateehateehateeho
what the fox say
jofftchofftchoffotchoffotchoff
tchofftchofftchoffotchoffotchoff
jofftchofftchoffotchoffotchoff
what the fox say
big blue eyes
pointy nose
chasing mice
and digging holes
tiny paws
up the hill
suddenly youre standing still
your fur is red
so beautiful
like an angel in disguise
but if you meet
a friendly horse
will you communicate by
mooooorse
mooooorse
mooooorse
how will you speak to that
hooooorse
hooooorse
hooooorse
what does the fox say
jachachachachachachow
chachachachachachachow
chachachachachachachow
what the fox say
frak