Manacher算法(Hotaru's problem,HDU 5371)
学习了Manacher算法
Manacher算法的介绍:
https://segmentfault.com/a/1190000003914228
Manacher算法的例题:
https://vjudge.net/problem/HDU-3068
例题代码
#include
#include
#include
using namespace std;
const
原创
2017-07-13 20:19:12 ·
267 阅读 ·
0 评论