Notes
This function is in beta test. Please help improve it in the issues
here.
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==3095==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x00000000000a (pc 0x7f3293234b6a bp 0x000000000006 sp 0x7ffefac14f48 T3095) ==3095==The signal is caused by a WRITE memory access. ==3095==Hint: address points to the zero page. #0 0x7f3293234b69 (/lib/x86_64-linux-gnu/libc.so.6+0x18eb69) #1 0x7f329419cbac (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x124bac) #2 0x42cd43 (/out/package/call+0x42cd43) #3 0x42c114 (/out/package/call+0x42c114) #4 0x7f32930c7b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #5 0x403bb9 (/out/package/call+0x403bb9) UndefinedBehaviorSanitizer can not provide additional info. ==3095==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 Call from zuowan a gold member Call from mingming a gold member Call from zonghui a platinum member Call from gao a silver member Answering call from zonghui Starting tick #1 Call from de a platinum member Starting tick #2 Call from kaixin a regular member Call from Ethan a silver member Call from Mason a regular member Call from William a gold member Starting tick #3 Call from gao a gold member Call from Daniel a platinum member Call from another a regular member Answering call from de Starting tick #4 Call from zonghui a gold member Starting tick #5 Call from gan a platinum member Starting tick #6 Call from Abigail a platinum member Starting tick #7 Call from kaixin a silver member Call from yidian a regular member Call from wo a platinum member Call from nihao a silver member Call from weishenme a regular member Answering call from Daniel Starting tick #8 Call from yao a platinum member Starting tick #9 Call from Ava a platinum member Starting tick #10 Call from zuone a gold member Call fr
JOJ Answer
Starting tick #0 Call from zuowan a gold member Call from mingming a gold member Call from zonghui a platinum member Call from gao a silver member Answering call from zonghui Starting tick #1 Call from de a platinum member Starting tick #2 Call from kaixin a regular member Call from Ethan a silver member Call from Mason a regular member Call from William a gold member Starting tick #3 Call from gao a gold member Call from Daniel a platinum member Call from another a regular member Answering call from de Starting tick #4 Call from zonghui a gold member Starting tick #5 Call from gan a platinum member Starting tick #6 Call from Abigail a platinum member Starting tick #7 Call from kaixin a silver member Call from yidian a regular member Call from wo a platinum member Call from nihao a silver member Call from weishenme a regular member Answering call from Daniel Starting tick #8 Call from yao a platinum member Starting tick #9 Call from Ava a platinum member Starting tick #10 Call from zuone a gold member Call fr