Trie
yjCola
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu 1251 统计难题(字典树)
hdu 1251 统计难题 试个指针实现的 #include #include #include struct node { node *next[26]; int val; }; node *root; int getid(char c) {return c-'a';} void insert(char *s) { int len=(int)strlen(原创 2014-04-27 09:06:08 · 522 阅读 · 0 评论 -
poj 2001 Shortest Prefixes(字典树)
poj 2001 Shortest Prefixes 找唯一能shibi原创 2014-04-26 20:19:55 · 552 阅读 · 0 评论 -
poj 3630 Phone List(字典树)
poj 3630 Phone List 判断一组字符串中是否有前缀zif原创 2014-04-26 20:36:22 · 608 阅读 · 0 评论 -
poj 2503 Babelfish(字典树)
poj 2503 Babelfish 和map一个意思,写下字典树练手,输入太恶心了原创 2014-04-26 21:05:34 · 569 阅读 · 0 评论 -
uestc Caruta (字典树)
唉,还是当时太紧张了,这么yishuiti原创 2014-04-13 14:47:41 · 641 阅读 · 0 评论
分享