Update manacher.cpp