What is wrong with my code?

Problem: FR11 Problem - CodeChef
My Solution: CodeChef: Practical coding for everyone

I’m getting the message ‘wrong answer’ even though my code is perfectly right. When I run my code using ‘custom input’ option with the specified test inputs, I am getting the required output. Then why am I facing a issue while submitting it?

Please tell me what’s wrong.

Thanks in advance.

1 Like

Same problem bro.
here is my solution,works for given testcases,but still showing wrong
https://www.codechef.com/viewsolution/48795421

Not a single AC solution:

Wouldn’t be at all surprised if the Problem was broken - many third-party ones are :confused: