摘要:
模板: #include<iostream> #include<stdio.h> #include<string.h> using namespace std; #define MAXN 1024 int fa[MAXN]; int set_find(int d){ if(fa[d]<0)retur 阅读全文
posted @ 2016-01-18 15:51
gongpixin
阅读(235)
评论(0)
推荐(0)
摘要:
KMP: Problem A.Number Sequence d.求子串首次出现在主串中的位置 s. c. #include<iostream> #include<stdio.h> #include<string.h> using namespace std; #define MAXN 10005/ 阅读全文
posted @ 2016-01-18 15:50
gongpixin
阅读(243)
评论(0)
推荐(0)