Need help debugging

Hi! My code doesn’t seem to work for testcase
1
3
000
and also for testcase
1
3
100
Please check and help me debug.

Solved that issue but still can’t get past 1 test case. Please check

hello @vaani787

can u please share ur code , by saving it on some online ide.

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.