Comments

Thank you. I have just tried to re-submit and I still get Time Limit Exceeded. I think this should run in O(n log n) which is consistent with the editorial: https://codeforces.me/contest/1334/submission/126215065

Did I implement the PrintWriter wrong? Or is there something else I can do?

Thank you.

Hello, Why does this submission give the Time Limit Exceeded verdict for problem B: https://codeforces.me/contest/1334/submission/126127281

I believe that it should run in O(nlog n) which should be fast enough...

Thanks!

What does this mean in the tutorial for "Elimination"?: The answer is at least max(a+b,d+c) because we have at least 100 participants with the sum of a+b and at least 100 participants with the sum of d+c

Why? Why dod "we have at least 100 participants with the sum of a+b and at least 100 with the sum of d+c"?