Where have I made mistake?

I am trying to solve http://www.spoj.com/problems/PALIN/ and my code is http://ideone.com/jKTHHb . I cannot find a case for which I am getting WA. Can any one help me?

The URL you have provided for your solution is not working please provide another one.

Given URL has full stop at the end,that is the reason why it is not working, try this one http://ideone.com/jKTHHb

The URL given for you code isn’t working, could you please provide another alternative to view you code?

//