$ 0 0 Have a look at this code. Then at this code.Can somebody please help me figure out why is my approach giving WA and the other one is not? This problem disturbed me a lot during the contest.