[Lead game]Wrong answer

I tried this program on my compiler by taking many test cases and it showed correct answer but I don’t know why is it getting wrong answer here…??
Please help.
Here is the link to the solution → CodeChef: Practical coding for everyone

Please refer to this

You have made the same mistake as him.

1 Like