摘要: 题目:戳这里 题意:输出主串中出现的模式串以及该模式串出现的次数。 思路:ac自动机,匹配的时候对应的vis[]+1即可 代码: #include<stdio.h> #include<string.h> #include<algorithm> #include<queue> using namesp 阅读全文