
【字典树】
文章平均质量分 79
Kuguotao
这个作者很懒,什么都没留下…
展开
-
NYOJ 动物统计 数组模拟
题目描述: 在美丽大兴安岭原始森林中存在数量繁多的物种,在勘察员带来的各种动物资料中有未统计数量的原始动物的名单。科学家想判断这片森林中哪种动物的数量最多,但是由于数据太过庞大,科学家终于忍受不了,想请聪明如你的ACMer来帮忙。输入描述:第一行输入动物名字的数量N(1<= N <= 10000),接下来的N行输入N个字符串表示动物的名字(字符串的长度不超过10...原创 2018-10-11 17:38:51 · 256 阅读 · 0 评论 -
HDU -4287 Intelligent IME 字典树数组模拟
We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific, the number buttons may correspond to some English letters respectivel...原创 2018-10-13 10:13:38 · 305 阅读 · 0 评论 -
HDU-3460 Ancient Printer 字典树
The contest is beginning! While preparing the contest, iSea wanted to print the teams' names separately on a single paper. Unfortunately, what iSea could find was only an ancient printer: so ancient ...原创 2018-10-16 21:41:00 · 214 阅读 · 0 评论 -
G - Vitya and Strange Lesson 字典树 数组模拟
Today at the lesson Vitya learned a very interesting function — mex. Mex of a sequence of numbers is the minimum non-negative number that is not present in the sequence as element. For example, mex([4...原创 2018-10-20 16:59:13 · 211 阅读 · 0 评论