1 test case failing

here in this problem test case 0 is passing whereas test case 1 is failing. https://ide.codingblocks.com/s/205153. I’m unable to find the problem.

Hi @akshatkaush

Write cout << “\n”; after printing answer for each test case.

Hope it Helps.

it worked, thank you for helping such a petty issue.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.