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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
50 1 zhihou gold 3 2 kaixin platinum 4 2 youdian silver 4 2 gao platinum 3 2 name1 platinum 1 2 youbing gold 3 3 that gold 2 4 name platinum 2 4 xuesheng silver 2 4 boot platinum 4 5 danshi regular 3 5 dasi platinum 3 5 xuesheng platinum 2 6 haiyao silver 1 6 ba regular 4 7 a gold 1 8 Ethan regular 4 9 shijian gold 2 10 yidian silver 2 11 a platinum 3 11 zai platinum 3 11 youbing silver 1 11 le gold 1 12 Aiden regular 1 12 Matthew regular 2 13 wobuzuo platinum 1 14 Jayden gold 4 14 shige silver 3 14 wo silver 4 14 weishenme silver 4 15 guiwanyi platinum 4 15 Daniel gold 4 16 yao regular 4 17 another gold 3 17 Daniel regular 3 17 danshi gold 2 17 weishenme gold 2 18 Addison platinum 4 19 wonaozi regular 1 19 William gold 4 20 wonaozi regular 4 20 zuone silver 4 21 Matthew regular 1 21 youdian regular 3 22 wonaozi platinum 4 22 danshi platinum 4 23 Noah platinum 1 24 mingming silver 4 25 Michael platinum 1 26 youbing platinum 1 Simulation complete.
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 sil