摘要: A: 题意:给出一个主序列,和一个匹配序列,如果能够匹配,则输出匹配序列第一个数在主序列中的位置. 思路:KMP的模版题不多说 1 #include <stdio.h> 2 #include <algorithm> 3 #include <iostream> 4 #include <stdbool. 阅读全文
posted @ 2019-08-01 22:38 _Ackerman 阅读(254) 评论(0) 推荐(0) 编辑