
字典树
Bears9
这个作者很懒,什么都没留下…
展开
-
字典树理解
原文链接 浅谈Trie树(字典树) Trie树(字典树) 一、引入 字典是干啥的?查找字的。 字典树自然也是起查找作用的。查找的是啥?单词。 看以下几个题: 1、给出n个单词和m个询问,每次询问一个单词........................原创 2018-08-09 10:44:19 · 270 阅读 · 0 评论 -
HDU-1671/nanyang163/Phone List
题目链接 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u SubmitStatus Description Given a list of phone numbers, determine if it is consistent in the sense that no numbe...原创 2018-07-12 10:20:44 · 175 阅读 · 0 评论 -
code[vs]4189字典
题目链接 4189 字典 时间限制: 1 s 空间限制: 256000 KB 题目等级 : 大师 Master 题解 题目描述 Description 最经,skyzhong得到了一本好厉害的字典,这个字典里整整有n个单词(1<=n<=200000) ...原创 2018-08-12 09:55:39 · 230 阅读 · 0 评论 -
hdu1251-统计难题
题目链接 统计难题 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others) Total Submission(s): 55578 Accepted Submission(s): 19424 Problem...原创 2018-08-12 11:24:43 · 210 阅读 · 0 评论