Https://ide.codingblocks.com/s/36540

The test case number 4 is showing run error . Please clarify .
Question link is : https://hack.codingblocks.com/contests/c/512/702

Check your code for the corner cases where input contains 0.