how to set the condition? as prateek bhaiya wrote (N>0)
why? please explain
What is wrong with my code?
line no 9 sir
@Anku47 first of all your code is not correct
here is your correct code for 1 test case
now for multiple cases condition just enclose the whole code inside another loop here
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.