I have got the logic right. And my code is working fine for the testcases I’ve created. The I/O format is also correct. But still I’m getting WA. Please help me.
Question: CodeChef: Practical coding for everyone
My solution: CodeChef: Practical coding for everyone