
【数据结构】--字典树
LaoJiu_
这个作者很懒,什么都没留下…
展开
-
hdu1247 Hat’s Words ---- 字典树
原题链接: http://acm.hdu.edu.cn/showproblem.php?pid=1247 一:原题内容 Problem Description A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictio原创 2016-06-05 16:27:30 · 801 阅读 · 0 评论 -
hdu1800 Flying to the Mars--字典树
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1800 题意:n个人,每个人一个数字,数字长度最长是30位,也就是必须得用字符串存,现在每人要学习骑扫帚去打仗,数字大的可以做数字小的师傅,这样他们可以用一个扫帚。问最后最少需要多少扫帚? 分析:坑点:一个人的数字可能是01,001,那这样的数据其实都是1,所以需要处理下。原创 2016-10-02 11:32:19 · 554 阅读 · 0 评论 -
【字典树】目录
待解决: hdu1298 hdu1075 hdu1671 hdu1251 hdu2846原创 2016-10-04 15:30:44 · 883 阅读 · 0 评论