Showing compilation error on hackerblocks but not on codeblocks

https://ide.codingblocks.com/s/53269
https://hack.codingblocks.com/contests/c/537/391

i m getting the correct output on codeblocks.

your code is working correct on hackerblocks