摘要:
题目大意:在一个m行n列的矩形网格里放k个相同的石子,问有多少中方法?每个格子最多放一个石子,所有石子都要用完,并且第一行,最后一行,第一列,最后一列都得有石子. 输入格式: 输入第一行为数据组数 T(T#include#include#include#inclu... 阅读全文
摘要:
图的广度遍历和深度遍历图 #include#include#include#include#includeusing namespace std;const int maxn=1e5+10;struct Node{ char date; int frist... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
什么是AC自动机? AC自动机并不是自动AC机(●’◡’●),Aho–Corasick算法是由Alfred V. Aho和Margaret J.Corasick 发明的字符串搜索算法.他能做什么? 在文本串上匹配多模式串,常用的用于计算文本串上出现了多少... 阅读全文
摘要:
-----大学作业------ 阅读全文
摘要:
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 ... 阅读全文
摘要:
小t非常感谢大家帮忙解决了他的上一个问题。然而病毒侵袭持续中。在小t的不懈努力下,他发现了网路中的“万恶之源”。这是一个庞大的病毒网站,他有着好多好多的病毒,但是这个网站包含的病毒很奇怪,这些病毒的特征码很短,而且只包含“英文大写字符”。当然小t好想好想为民除害,但... 阅读全文
摘要:
当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大地迎来最黑暗的时刻。。。。在这样的时刻,人们却异常兴奋——我们能在有生之年看到500年一遇的世界奇观,那是多么幸福的事儿啊~~ 但网路上总有那么些网站,开始借着民众的好奇心,打着介绍日食的旗号,大肆传播病毒。小t不幸成为受... 阅读全文
摘要:
H - Keywords Search HDU - 2222 In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also ... 阅读全文