0_0_26252367_4919.cpp:1:2: error: stray '\243' in program
O(N+M) 数组从0开始
^
0_0_26252367_4919.cpp:1:2: error: stray '\250' in program
0_0_26252367_4919.cpp:1:2: error: stray '\243' in program
0_0_26252367_4919.cpp:1:2: error: stray '\251' in program
0_0_26252367_4919.cpp:1:2: error: stray '\312' in program
0_0_26252367_4919.cpp:1:2: error: stray '\375' in program
0_0_26252367_4919.cpp:1:2: error: stray '\327' in program
0_0_26252367_4919.cpp:1:2: error: stray '\351' in program
0_0_26252367_4919.cpp:1:2: error: stray '\264' in program
0_0_26252367_4919.cpp:1:2: error: stray '\323' in program
0_0_26252367_4919.cpp:1:2: error: stray '\277' in program
0_0_26252367_4919.cpp:1:2: error: stray '\252' in program
0_0_26252367_4919.cpp:1:2: error: stray '\312' in program
0_0_26252367_4919.cpp:1:2: error: stray '\274' in program
0_0_26252367_4919.cpp:3:1: error: stray '\324' in program
原next数组也已用来求循环节
^
0_0_26252367_4919.cpp:3:1: error: stray '\255' in program
0_0_26252367_4919.cpp:3:1: error: stray '\312' in program
0_0_26252367_4919.cpp:3:1: error: stray '\375' in program
0_0_26252367_4919.cpp:3:1: error: stray '\327' in program
0_0_26252367_4919.cpp:3:1: error: stray '\351' in program
0_0_26252367_4919.cpp:3:1: error: stray '\322' in program
0_0_26252367_4919.cpp:3:1: error: stray '\262' in program
0_0_26252367_4919.cpp:3:1: error: stray '\322' in program
0_0_26252367_4919.cpp:3:1: error: stray '\321' in program
0_0_26252367_4919.cpp:3:1: error: stray '\323' in program
0_0_26252367_4919.cpp:3:1: error: stray '\303' in program
0_0_26252367_4919.cpp:3:1: error: stray '\300' in program
0_0_26252367_4919.cpp:3:1: error: stray '\264' in program
0_0_26252367_4919.cpp:3:1: error: stray '\307' in program
0_0_26252367_4919.cpp:3:1: error: stray '\363' in program
0_0_26252367_4919.cpp:3:1: error: stray '\321' in program
0_0_26252367_4919.cpp:3:1: error: stray '\255' in program
0_0_26252367_4919.cpp:3:1: error: stray '\273' in program
0_0_26252367_4919.cpp:3:1: error: stray '\267' in program
0_0_26252367_4919.cpp:3:1: error: stray '\275' in program
0_0_26252367_4919.cpp:3:1: error: stray '\332' in program
0_0_26252367_4919.cpp:1:2: error: 'O' does not name a type
O(N+M) 数组从0开始
^
0_0_26252367_4919.cpp: In function 'void GetNext(char*, int*)':
0_0_26252367_4919.cpp:28:21: error: 'strlen' was not declared in this scope
int pLen = strlen(p);
^
0_0_26252367_4919.cpp: In function 'int KmpSearch(char*, char*)':
0_0_26252367_4919.cpp:47:21: error: 'strlen' was not declared in this scope
int sLen = strlen(s);
^
0_0_26252367_4919.cpp:55:8: error: 'next' was not declared in this scope
j = next[j];
^
|