![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字典树-线段树
文章平均质量分 90
字典树-线段树
master-dragon
weixin:dwl_1270530306
展开
-
hdu 2846 Repository 1251 统计难题 - 字典树 单词检索,统计
RepositoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3247 Accepted Submission(s): 1227Problem DescriptionWhen you go sho原创 2015-08-31 18:55:04 · 1059 阅读 · 0 评论 -
HDU 1800 Flying to the Mars -- 求一组数中出现频率最大的那个数出现的次数
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=1800/*http://acm.hdu.edu.cn/showproblem.php?pid=1800Flying to the Marsnext[] 也就是数字 0-9 */#include<cstdio>#include<cstring>#include<stdlib.h>typedef原创 2015-08-28 08:58:36 · 473 阅读 · 0 评论 -
POJ Shortest Prefixes -- 最短前缀问题 -- 字典树
Shortest PrefixesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 16990 Accepted: 7364DescriptionA prefix of a string is a substring starting at the begi原创 2016-06-24 14:00:52 · 866 阅读 · 0 评论 -
212. Word Search II (DFS,trie)
题目地址https://leetcode.com/problems/word-search-ii/题目描述Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adj原创 2016-10-07 15:00:22 · 409 阅读 · 0 评论 -
线段树-基础,典型例题的完整代码
线段树的应用方法总结 http://www.cnblogs.com/rainydays/p/3671220.html线段树代码,各类线段树的acm题目学习 http://www.cnblogs.com/Mu-Tou/archive/2011/08/11/2134427.htmlHDU 1166 敌兵布阵题目地址 http://acm.hdu.edu.cn/showproblem.php?pid转载 2016-09-17 12:19:41 · 582 阅读 · 0 评论