
字典树
文章平均质量分 80
my_acm
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj 2513 (并查集与字典树)
Colored Sticks Time Limit: 5000MS Memory Limit: 128000K Total Submissions: 29235 Accepted: 7710 Description You are given a bunch of wooden sticks. Each endpoint of e原创 2014-05-14 20:25:19 · 631 阅读 · 0 评论 -
poj 3087
Shuffle'm Up Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5712 Accepted: 2676 Description A common pastime for poker players at a poker table is to shuf原创 2014-07-30 20:49:33 · 584 阅读 · 0 评论 -
hdu 2222
Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 42332 Accepted Submission(s): 13334 Problem Description In the m原创 2015-06-16 16:00:54 · 474 阅读 · 0 评论 -
字典树模板(java)
class Trie{ private int SIZE=26; private TrieNode root;//字典树的根 Trie(){//初始化字典树 root=new TrieNode(); } private class TrieNode{//字典树节点 private int num;//有多少单词通过这个节点,即节点字符出现的次数 private TrieN原创 2015-06-04 18:49:55 · 900 阅读 · 0 评论