Test case 0 not passed

hello @Shubh-Garg-2556190207986238 have you seen the input format .
for which reason you are taking n as input
did you even try to notice .
you are not making use of it .
n is the number of test cases i.e for n times you have to do this .
and moreover why you are taking the extra space when it is not required .
simply when you are comparing you can simply output the same .
i have corrected your code and now it is passing every test case.


if you feel that your doubt is cleared please mark this doubt as resolved .
Happy Learning !!

1 Like

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.