Is palindrome hacker block

http://ide.codingblocks.com/#/s/15060
despite of getting the right answer two test cases are failing
https://hack.codingblocks.com/contests/c/474/371