Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link ×

ACM ICPC World Finals 2018 Problem H

Revision en1, by Nuruhuhuhu, 2018-04-19 17:32:34

Can anyone please help me in this one? I am getting WA on test 24 and I can't find any mistake in my idea. Has anyone faced the same verdict in test 24? Maybe it's corner case or something. I'd be really grateful if someone helped me out. I am trying it from this afternoon without any break and now I'm frustrated :(

Here's the link to the problem.


  Rev. Lang. By When Δ Comment
en1 English Nuruhuhuhu 2018-04-19 17:32:34 434 Initial revision (published)