
字典树
BLF2
这个作者很懒,什么都没留下…
展开
-
HDU 1247 Hat’s Words 字典树
Hat’s WordsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8778 Accepted Submission(s): 3151Problem DescriptionA hat’s word原创 2015-03-07 17:02:36 · 584 阅读 · 0 评论 -
HDU 1251 统计难题 字典树
统计难题Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 20031 Accepted Submission(s): 8776Problem DescriptionIgnatius最近遇到一个难题,原创 2015-03-07 16:17:45 · 644 阅读 · 0 评论 -
SDUTOJ 3039 迷之好奇 静态字典树
迷之好奇Time Limit: 2000MS Memory limit: 65536K题目描述FF得到了一个有n个数字的集合。不要问我为什么,有钱,任性。FF很好奇的想知道,对于数字x,集合中有多少个数字可以在x前面添加任意数字得到。如,x = 123,则在x前面添加数字可以得到4123,5123等。输入 多组输入原创 2015-02-03 21:10:50 · 771 阅读 · 0 评论 -
UVAOJ 10420 List of Conquests ——字典树(哈希用法),map
List of ConquestsInput: standard inputOutput: standard outputTime Limit: 2 secondsIn Act I, Leporello is telling Donna Elvira about his master's long list of conquests:``This is the list原创 2014-12-13 20:48:09 · 839 阅读 · 0 评论 -
SDUTOJ 3059 C#中类的继承性 ——字典树(哈希用法),map
C#中类的继承性Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述在C#中,类的继承遵循以下原则。(1)派生类只能从一个类中继承,即单继承。(2)类的继承是可以传递的,例如:假设类C继承于类B,类B又继承于类A,那么类A是类C的祖先类。 那么现在问题来了,给出一些类的继承关系,求出最多的继承原创 2014-12-13 20:43:06 · 805 阅读 · 0 评论 -
SDUTOJ 1500 ——Message Flood 字典树或map
Message FloodTime Limit: 1500MS Memory limit: 65536K题目描述Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and benefi原创 2014-11-17 15:09:09 · 851 阅读 · 0 评论 -
POJ 2001 ——Shortest Prefixes 字典树的应用
Shortest PrefixesTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 13310Accepted: 5749DescriptionA prefix of a string is a substring starting at the beginnin原创 2014-08-01 20:51:43 · 558 阅读 · 0 评论 -
poj 2513 Colored Sticks——字典树,并查集,欧拉图,哈希表
Colored SticksTime Limit: 5000MS Memory Limit: 128000KTotal Submissions: 30063 Accepted: 7933DescriptionYou are given a bunch of wooden sticks. Each endpoint of eac原创 2014-08-01 20:05:30 · 713 阅读 · 0 评论 -
HDUOJ 1004 Let the Balloon Rise ——三种解法:字典树,暴力,排序
Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 70944 Accepted Submission(s): 26378Problem DescriptionConte原创 2014-06-30 15:48:33 · 1146 阅读 · 2 评论 -
SDUT OJ 2892——字典树
ATime Limit: 60ms Memory limit: 65536K 有疑问?点这里^_^题目描述给出n(1输入单组输入。第一行输入一个数字n,接下来n行,每行包含一个字符串。输出输出一个数字代表答案。示例输入5abaabbwabaz示例输出2原创 2014-06-21 18:51:32 · 897 阅读 · 0 评论