ACM__字典树
文章平均质量分 69
tjial
这个作者很懒,什么都没留下…
展开
-
HDU-1075 What Are You Talking About
HDU 1075 What Are You Talking About Ignatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. The Martian gives him a history book of Mars and a dictionary when...原创 2018-05-02 20:39:16 · 782 阅读 · 0 评论 -
HDU-1251 统计难题
HDU 1251 统计难题 Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀...原创 2018-05-02 20:54:47 · 778 阅读 · 0 评论 -
HDU-2072 单词数
HDU 2072 单词数 lily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 有多组数据,每组一行,每组就是一篇小文章。每篇小文章都是由小写字母和空格组成,没有标点符号,遇到#时表示输入结束。 ...原创 2018-05-06 19:48:25 · 1390 阅读 · 0 评论 -
HDU-1004 Let the Balloon Rise
HDU 1004 Let the Balloon Rise Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the......原创 2018-05-03 19:37:45 · 667 阅读 · 0 评论 -
HDU-1247 Hat’s Words
HDU 1247 Hat’s Words A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all the hat’s words in a dictionary......原创 2018-05-03 19:46:47 · 708 阅读 · 0 评论