Why am i getting 4 zeroes while concatenating a decimal n.o with string in this code

my code;
https://ide.codingblocks.com/s/35256

question;
https://hack.codingblocks.com/contests/c/512/71

my code;
https://ide.codingblocks.com/s/35256

The link of code that you have provided is not of this question.

Please be more careful while posting links to the question and code here.