Conversion to decimal

this code is running properly in ide but on the portal there is no output. what must be the possible problem?

@ananyaautreja
Your code works fine. If you want to check it , you can try submitting it on HackerBlocks as the same question is present in some other contest as well. As for your online portal , I request you to try it to submit it again later as the site might be getting updated. If your issue persists , kindly report it to [email protected] and I can assure you that your issue will be resolved at the soonest.

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.