Everything is correct , my program is showing the correct output too . But still codechef is not accepting my code.
And it is Chef and Remissness problem.
Your output format is wrong. Specifically, you’ve to print output of each test case on a new line.
1 Like
Ohh thanks brother!