I have met all the constraints of the given problem, have checked the sample input from CODECHEF, and also verified the input and output pattern. But still when I submit my solution, it is simply showing Wrong Answer. How can I get to know where I am wrong? Is there any provision of more sample inputs that I can get somewhere on this site?
PS: I have also checked my code on Ideone, and there the code is running correctly.