ltnotfty
ltnotfty
全部文章
题解
未归档(1)
归档
标签
去牛客网
登录
/
注册
ltnotfty的博客
全部文章
/ 题解
(共1篇)
题解 | #小易爱回文#
manacher 从前往后找对称中心,计算扩展长度知道该中心包含最后一个字符 再根据对称性,计算出前面需要反转后添加的长度 ```cpp #include <iostream> #include <cstdio> #include <string> #inc...
C++
manacher
2021-10-03
0
523