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

https://hack.codingblocks.com/contests/c/474/147

why one test case failed
http://ide.codingblocks.com/#/s/13517