https://ide.codingblocks.com/#/s/26023
don’t know where the problem is
Problem - Chewbacca & Number
question clearly says that most significant digit, i.e. left most digit should not be 0.
try this:
INPUT: 99999
EXPECTED OUTPUT: 90000
YOUR OUTPUT: 0
Please attach the problem link, so that we can reply fast.