摘要: #include <iostream> using namespace std; const int N = 10010, M = 100010; int n, m; int ne[N];//ne[i] : 以i为结尾的部分匹配的值 char s[M], p[N]; int main() { cin 阅读全文
posted @ 2019-11-04 01:01 晴屿 阅读(155) 评论(0) 推荐(0)
摘要: https://www.acwing.com/problem/content/156/ 阅读全文
posted @ 2019-11-04 00:59 晴屿 阅读(177) 评论(0) 推荐(0)
摘要: https://www.acwing.com/problem/content/832/ 阅读全文
posted @ 2019-11-04 00:58 晴屿 阅读(180) 评论(0) 推荐(0)
摘要: https://www.acwing.com/problem/content/829/ 阅读全文
posted @ 2019-11-04 00:55 晴屿 阅读(157) 评论(0) 推荐(1)
摘要: https://www.acwing.com/activity/content/problem/content/863/1/ 阅读全文
posted @ 2019-11-04 00:54 晴屿 阅读(216) 评论(0) 推荐(0)