lapindrome error???

why I am getting wrong answer error??? While it is giving write answer in my compiler?
problem link-https://www.codechef.com/viewsolution/15107966

Here is a link to my solution : Link
I didn’t catch the mistake in your code but it isn’t an efficient approach as it will give TLE if the constraints were high!
If you need any further help, feel free to ask :slight_smile:

thanks…

//