Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
wrong input status Starting tick #0 Call from Mia a regular member Answering call from Mia Starting tick #1 Answering call from Matthew Starting tick #2 Call from zhihou a regular member Answering call from William Starting tick #3 Answering call from Aiden Starting tick #4 Call from Mason a silver member Answering call from weishenme Starting tick #5 Answering call from Mason Starting tick #6 Call from zhege a silver member Answering call from zhege Starting tick #7 Answering call from that Starting tick #8 Answering call from zuone Starting tick #9 Answering call from de Starting tick #10 Answering call from Abigail Starting tick #11 Answering call from boot Starting tick #12 Answering call from de Starting tick #13 Answering call from youbing Starting tick #14 Answering call from zhihou Starting tick #15 Call from Addison a regular member Answering call from Addison Starting tick #16 Answering call from mingming Starting tick #17 Answering call from Ethan Starting tick #18 Answering call from Noah Starting
JOJ Answer
Starting tick #0 Call from Mia a regular member Answering call from Mia Starting tick #1 Starting tick #2 Call from zhihou a regular member Starting tick #3 Starting tick #4 Call from Mason a silver member Starting tick #5 Starting tick #6 Call from zhege a silver member Starting tick #7 Starting tick #8 Starting tick #9 Call from Matthew a gold member Starting tick #10 Call from William a gold member Call from that a silver member Starting tick #11 Call from kaixin a platinum member Call from zuone a silver member Starting tick #12 Starting tick #13 Starting tick #14 Call from Aiden a gold member Starting tick #15 Call from Addison a regular member Starting tick #16 Answering call from kaixin Starting tick #17 Call from de a silver member Starting tick #18 Call from mingming a regular member Starting tick #19 Starting tick #20 Starting tick #21 Call from Abigail a silver member Starting tick #22 Call from boot a silver member Call from Ethan a regular member Starting