回文树
文章平均质量分 77
围巾的ACM
啊啊什么时候也能成为一个大牛啊
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVALive 7041 The Problem to Slow Down You(回文树)
思路:一个回文树的应用...作为智障选手只会套版... #include #include #include using namespace std; #define LL long long const int MAXN = 400005 ; const int N = 26 ; LL ans = 0; struct Palindromic_Tree { int next[MAXN]原创 2016-06-01 22:44:47 · 700 阅读 · 0 评论 -
BZOJ 2565 最长双回文串
思路:回文树搞一波... #include #include #include #include #include #include using namespace std; typedef long long int LL; const int maxn=1e5+5; char str[maxn]; struct Tree { int next[maxn][26]原创 2016-06-03 22:06:55 · 379 阅读 · 0 评论
分享