
字典树
字典树
Jackie·Tang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Uva1401 Remember the Word
Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory and this may not trouble him, Neal gives it to Jiejie. Since Jie...原创 2019-07-25 17:51:29 · 196 阅读 · 0 评论 -
1471:【例题1】Phone List
1471:【例题1】Phone List 【题目描述】 原题来自:POJ 3630 给定 n 个长度不超过 10 的数字串,问其中是否存在两个数字串 S,T,使得 S 是 T 的前缀,多组数据。 【输入】 第一行一个整数 T,表示数据组数。 对于每组数据,第一行一个数 n,接下来 n 行输入 n 个数字串。 【输出】 对于每组数据,若存在两个数字串 S,T,使得 S 是 T 的前缀,则输出 NO ...原创 2019-07-25 18:19:40 · 1196 阅读 · 0 评论