My code is producing correct output but when i am submitting my code all the test case are getting failed

please go through my code and please quote the mistake I am doing.

hi @Jitinkansal
image
You dont have to print #n, you have to print the test case number here. There are t test cases so this range should be from 1 to t

yes now it passes all the test case …
Thank you.

1 Like

@Jitinkansal dont forget to mark your doubt as resolved!

ok…

1 Like