
字典树
zeng_jun_yv
title:
退役小曾
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Keywords Search HDU - 2222(AC自动机模板)
题意:给定 个长度不超过 的由小写英文字母组成的单词准备查询,以及一篇长为 的文章,问:文中出现了多少个待查询的单词。多组数据。题目:In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feat...原创 2019-11-07 18:23:42 · 441 阅读 · 0 评论 -
Phone List POJ - 3630(字典树模板题)
题意给定 n个长度不超过 10的数字串,问其中是否存在两个数字串S,T ,使得 S是 T的前缀,多组数据。题目Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalog...原创 2019-11-02 17:13:02 · 679 阅读 · 3 评论