Can somebody help me with problem B of Div 1. I implement the solution of editorial but i get WA on test 5 and i can't debug the code. I think it's absurd. Here is the code: http://codeforces.net/contest/449/submission/7192350 UPD: I found the problem http://codeforces.net/contest/450/submission/7193321
You could just leave a UPD under your previous post and write "solved" :|
You are right.Is it OK now?