Test case 0 faliure is not clear

Test case 0 faliure is not clear

@ayush_paharia2HU
Your logic was correct.
But there was some issue with testcase, when n==1 the ans was 1 and our code was doing 1 and then endl.
i just handled it manually and it worked.

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.