https://hack.codingblocks.com/contests/c/781/59
https://ide.codingblocks.com/s/71520
Why I am getting wrong output?
Hi Amritanshu
Please check your code’s line:8, you need to use Floor division Operator i.e. //
instead of Division Operator i.e. /
. So, update line:8 as s=s//10
.