![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字典树
文章平均质量分 80
该怎么和你说呢
好好的做自己应该做的事情
展开
-
HDU 1251 统计难题
package hdu; import java.util.Scanner; /** * @description Hdu1251 统计难题。 1. 建立字典树. * 2. * @author Alex * */ public class Hdu1251_20120731_0 { public static void main(String原创 2012-08-08 13:29:40 · 423 阅读 · 0 评论 -
Hdu 2222 Keywords Search
package hdu; import java.util.ArrayDeque; import java.util.Scanner; /** * @description HDU 2222 Keyboards Search. * @technique AC自动机, 字典树。 * @version 1.2 * @date 20120727 * @time 20:2原创 2012-08-06 18:21:06 · 415 阅读 · 0 评论 -
南阳理工ACM 162 Phone List
Phone List 时间限制:1000 ms | 内存限制:65535 KB 难度:4 描述 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 catalo原创 2013-06-08 21:44:53 · 832 阅读 · 0 评论