摘要: Seek the Name, Seek the Fame Seek the Name, Seek the Fame The little cat is so famous, that many couples tramp over hill and dale to Byteland, and ask 阅读全文
posted @ 2018-08-27 19:19 mizersy 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; const int m = 110010; char s[m*2]; int mp[m*2]; char ma[2*m]; int l,len; void manacher(){ l = 0; ma[l++] = '$'; ma[l++] = '#'; for (int i = 0;i i ? min... 阅读全文
posted @ 2018-08-27 19:17 mizersy 阅读(133) 评论(0) 推荐(0) 编辑