随笔分类 -  字典树

 
HDU 1671 Phone List
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1671依旧是Trie树,和上一题差不太多View Code #include #include #include const int MAX=10; typedef struct Trie{ Trie *... 阅读全文
posted @ 2012-05-09 02:14 LegendaryAC 阅读(216) 评论(0) 推荐(0)
HDU 1251 统计难题
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1251第一道Trie树,感觉有点厉害View Code #include #include #include const int MAX=26; typedef struct Trie{ Trie *ne... 阅读全文
posted @ 2012-05-09 01:53 LegendaryAC 阅读(300) 评论(0) 推荐(0)