Hdu-1711 Number Sequence

题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1711php 题目大意:ios 从s串中若是能找出p串,则输出p串在s串的位置(两个串下标都从1开始)算法 解题思路:spa KMP算法的简单模拟get 代码以下:string #include<iostream> #include<cstring> #include<cstdio> #include<
相关文章
相关标签/搜索