会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Annetree的博客
把所有事情往简单了想嘛 (•̀ᴗ•́)و ̑̑
博客园
首页
新随笔
联系
管理
2017年8月3日
POJ 2001 Shortest Prefixes(字典树)
摘要: Description A prefix of a string is a substring starting at the beginning of the given string. The prefixes of "carbon" are: "c", "ca", "car", "carb",
阅读全文
posted @ 2017-08-03 10:38 Annetree
阅读(122)
评论(0)
推荐(0)
编辑
HDU 1251 统计难题(字典树 裸题 链表做法)
摘要: Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表
阅读全文
posted @ 2017-08-03 10:15 Annetree
阅读(258)
评论(0)
推荐(0)
编辑
G++ C++之区别
摘要: 1.遇到精度用C++ 2.G++内存超限,C++过了 其他都用G++
阅读全文
posted @ 2017-08-03 10:10 Annetree
阅读(183)
评论(0)
推荐(0)
编辑
公告