Longest Palindromic Substring

it is giving me compiler error

https://hack.codingblocks.com/app/contests/1290/1332/problem
refer to the editorial code
and keep in mind 1 difference
java meh substring function is
giving index of start & end
and in c++
its start , len
so the second parameter is kitne length ka substring chiaye

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.