Notes
This function is in beta test. Please help improve it in the issues
here.
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==35320==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f9b54beab6a bp 0x000000000004 sp 0x7ffe1b8b8ac8 T35320) ==35320==The signal is caused by a WRITE memory access. ==35320==Hint: address points to the zero page. #0 0x7f9b54beab69 (/lib/x86_64-linux-gnu/libc.so.6+0x18eb69) #1 0x7f9b55b52bac (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x124bac) #2 0x42cd43 (/out/package/call+0x42cd43) #3 0x42c114 (/out/package/call+0x42c114) #4 0x7f9b54a7db96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #5 0x403bb9 (/out/package/call+0x403bb9) UndefinedBehaviorSanitizer can not provide additional info. ==35320==ABORTING
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
Starting tick #0 Starting tick #1 Call from zhihou a gold member Answering call from zhihou Starting tick #2 Call from kaixin a platinum member Call from youdian a silver member Call from gao a platinum member Call from name1 a platinum member Call from youbing a gold member Starting tick #3 Call from that a gold member Starting tick #4 Call from name a platinum member Call from xuesheng a silver member Call from boot a platinum member Answering call from kaixin Starting tick #5 Call from danshi a regular member Call from dasi a platinum member Call from xuesheng a platinum member Starting tick #6 Call from haiyao a silver member Call from ba a regular member Starting tick #7 Call from a a gold member Starting tick #8 Call from Ethan a regular member Answering call from gao Starting tick #9 Call from shijian a gold member Starting tick #10 Call from yidian a silver member Starting tick #11 Call from a a platinum member Call from zai a platinum member Call from youbing a silver member Call from le a gold membe
JOJ Answer
Starting tick #0 Starting tick #1 Call from zhihou a gold member Answering call from zhihou Starting tick #2 Call from kaixin a platinum member Call from youdian a silver member Call from gao a platinum member Call from name1 a platinum member Call from youbing a gold member Starting tick #3 Call from that a gold member Starting tick #4 Call from name a platinum member Call from xuesheng a silver member Call from boot a platinum member Answering call from kaixin Starting tick #5 Call from danshi a regular member Call from dasi a platinum member Call from xuesheng a platinum member Starting tick #6 Call from haiyao a silver member Call from ba a regular member Starting tick #7 Call from a a gold member Starting tick #8 Call from Ethan a regular member Answering call from gao Starting tick #9 Call from shijian a gold member Starting tick #10 Call from yidian a silver member Starting tick #11 Call from a a platinum member Call from zai a platinum member Call from youbing a silver member Call from le a gold membe