- 博客(1)
- 收藏
- 关注
原创 kmp
最近刚看了KMP算法,在oj上刷了几道题: poj3461 #include #include using namespace std; void GetNext(char p[], int next[],int Plen) { next[0]=-1;//下标从一开始,0无效 next[1]=0; int j=0; for(int index=2;index<=Plen;index
2014-12-01 22:23:34 107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人