![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字典树
文章平均质量分 85
LV耗子
现在,当我不解时就想到你!以后,当你不解时请你想起我!
展开
-
HDU--2846--Repository--字典树
#include #include #include #include #include #include using namespace std; struct ssss { ssss *c[26]; int n,v; }*s; void insert(char *str,int v) { int i,j,k,l; ssss *p,*q; p=原创 2014-05-13 21:12:04 · 880 阅读 · 0 评论 -
HDU--2222--Keywords Search--AC自动机
Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 44594 Accepted Submission(s): 14056 Problem Description In the m原创 2015-08-16 23:20:53 · 678 阅读 · 0 评论