Please tell the problem ? here is my code

@namangarg31 you took input for t, but didnt put any while loop so the code will be executed only 1 time. So put it in a loop and initialise all the values inside the loop for every test case. Also dont forget tyou have to print answer for each test case in a new line. corrected code: https://ide.codingblocks.com/s/285375

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.