会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_年少有为
因为CSDN编辑博客比较方便,所以日常博客在CSDN,链接:https://blog.csdn.net/Dch19990825
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
18
下一页
2018年11月27日
拉拉队(Cheer leaders,UAa 11806) 算法入门竞赛指南之组合数学
摘要: 题目大意:在一个m行n列的矩形网格里放k个相同的石子,问有多少中方法?每个格子最多放一个石子,所有石子都要用完,并且第一行,最后一行,第一列,最后一列都得有石子. 输入格式: 输入第一行为数据组数 T(T#include#include#include#inclu...
阅读全文
posted @ 2018-11-27 09:48 _年少有为
阅读(228)
评论(0)
推荐(0)
2018年11月26日
数据结构实验五----图的遍历
摘要: 图的广度遍历和深度遍历图 #include#include#include#include#includeusing namespace std;const int maxn=1e5+10;struct Node{ char date; int frist...
阅读全文
posted @ 2018-11-26 08:45 _年少有为
阅读(414)
评论(0)
推荐(0)
2018年11月23日
POJ 2778 L - DNA Sequence (AC自动机 dp 矩阵快速幂)
摘要: It's well known that DNA Sequence is a sequence only contains A, C, T and G, and it's very useful to analyze a segment of DNA Sequence...
阅读全文
posted @ 2018-11-23 15:34 _年少有为
阅读(118)
评论(0)
推荐(0)
2018年11月21日
病毒入侵M - Detect the Virus ZOJ - 3430 (位运算,AC自动机)
摘要: One day, Nobita found that his computer is extremely slow. After several hours' work, he finally found that it was a virus that made h...
阅读全文
posted @ 2018-11-21 16:32 _年少有为
阅读(235)
评论(0)
推荐(0)
2018年11月15日
AC自动机基础入门讲解(KMP与Tire树的结合)
摘要: 什么是AC自动机? AC自动机并不是自动AC机(●’◡’●),Aho–Corasick算法是由Alfred V. Aho和Margaret J.Corasick 发明的字符串搜索算法.他能做什么? 在文本串上匹配多模式串,常用的用于计算文本串上出现了多少...
阅读全文
posted @ 2018-11-15 20:05 _年少有为
阅读(621)
评论(0)
推荐(0)
大学作业
摘要: -----大学作业------
阅读全文
posted @ 2018-11-15 10:54 _年少有为
阅读(183)
评论(0)
推荐(0)
2018年11月14日
Hat’s Words HDU - 1247
摘要: A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all ...
阅读全文
posted @ 2018-11-14 21:26 _年少有为
阅读(145)
评论(0)
推荐(0)
J - 病毒侵袭持续中 HDU - 3065
摘要: 小t非常感谢大家帮忙解决了他的上一个问题。然而病毒侵袭持续中。在小t的不懈努力下,他发现了网路中的“万恶之源”。这是一个庞大的病毒网站,他有着好多好多的病毒,但是这个网站包含的病毒很奇怪,这些病毒的特征码很短,而且只包含“英文大写字符”。当然小t好想好想为民除害,但...
阅读全文
posted @ 2018-11-14 20:33 _年少有为
阅读(140)
评论(0)
推荐(0)
I - 病毒侵袭 HDU - 2896
摘要: 当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大地迎来最黑暗的时刻。。。。在这样的时刻,人们却异常兴奋——我们能在有生之年看到500年一遇的世界奇观,那是多么幸福的事儿啊~~ 但网路上总有那么些网站,开始借着民众的好奇心,打着介绍日食的旗号,大肆传播病毒。小t不幸成为受...
阅读全文
posted @ 2018-11-14 20:30 _年少有为
阅读(172)
评论(0)
推荐(0)
H - Keywords Search HDU - 2222
摘要: H - Keywords Search HDU - 2222 In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also ...
阅读全文
posted @ 2018-11-14 20:23 _年少有为
阅读(148)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
18
下一页
公告