This is the problem from today's codechef challenge.
Can someone tell me what am I doing wrong as I have seen the code of lot of people and I am also doing the same thing as they have done.Also I have tried some test cases and they indeed give correct answer.
Can someone please help me please. code