Https://hack.codingblocks.com/contests/c/474/160

https://hack.codingblocks.com/contests/c/474/160
why test case failed?
please rectify it.

http://ide.codingblocks.com/#/s/13520