Program not exucting

Your code is not giving any error and is running. What is the issue?
Also mention the question.

the question is largest string and i am getting these erorrs

runguard: warning: timelimit exceeded (wall time): aborting command runguard: warning: command terminated with signal 15

@yaswanth0412 Change line 13 to while(n>0)

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.