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.