摘要:
题目描述 给定一个文本串和多个模式串,求有几个模式串出现在文本串中 cpp include include include define MAXN 1000005 char s[MAXN]; int N; struct queue{ int que[MAXN];int head,tail; queu 阅读全文
摘要:
"题目链接" Solution 首先这题数据范围有点大,肯定是不可能每个点都枚举过去的。通过观察发现$N$的范围比较小,那么只需要找到点然后枚举下是否在范围内即可。然后这个点的寻找就丢给随机了。 但随意会有些缺陷,所以我们还是将四个点也特判一下。 cpp include include includ 阅读全文
摘要:
彩笔光荣垫底。完成了两道题,第三道题WA,成功叉掉一个人。最后历史性的没有掉rating了!!!!多了32分!当前1234!暂时接触了掉newbie的危险 但是这次rank并不是很高,并没有创造出历史最好成绩,但是也算低谷期的小突破了! A. Minimum Binary Number Descri 阅读全文
摘要:
Description Every year in Wisconsin the cows celebrate the USA autumn holiday of Halloween by dressing up in costumes and collecting candy that Farmer 阅读全文