Didn't work for all testcases

Dang! You couldn’t score a perfect 100 because you failed one or more testcases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).

@sunidhi10bamity,
Please share you code. https://ide.codingblocks.com/

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.

@sanchit.bansal06,
Hey! I have uploaded my code.
Kindly see!
Really sorry for the late reply though!

@sunidhi10bamity,
Kindly share the link to your code as well

@sunidhi10bamity,
You need to put a breaking condition if the length of the string becomes 0