manacher算法http://blog.csdn.net/xingyeyongheng/article/details/9310555
KMP算法
http://blog.csdn.net/yearn520/article/details/6729426