Only two test cases passed out of 5.where am i going wrong?

@neha_153
Code is fine
You just forgot to consider what if the input is a single digit number
And what if a digit is zero ??

i did the changes but its still not working https://ide.codingblocks.com/s/215478

@neha_153
Try to see this once
Q : 3
1020
3456
362733737
A : 1
1
1

@neha_153
I see you closed and opened the doubt again
How can I help you ?

what is this? the original answers of the problems

@neha_153
Yes this is what the answers should have been
You can run it on your own cases to see where you went wrong

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.