PALIN Code gives correct output on my system but continuously getting WA here

I’ve been trying to solve the next palindrome problem, but am continuously getting WA, whereas I’ve tried a lot of cases for which I’m getting the correct answers.

This is my code:
http://www.codechef.com/viewsolution/4330173

Can’t figure out which case I’m missing

Any help would be appreciated. Thank You.

see the 3rd case on this link…hope this will help…:slight_smile:

1 Like

I corrected the mistake, but still WA. This is my solution:

http://www.codechef.com/viewsolution/4330173

Please Help

check out the above link again!!!

Got my code Accepted!!

Thank You! :slight_smile:

glad could help…:slight_smile:

//