0_0_18189526_31351.cpp:18:9: error: 'max1' was not declared in this scope
int nex[max1],extand[max2];
^
0_0_18189526_31351.cpp:18:22: error: 'max2' was not declared in this scope
int nex[max1],extand[max2];
^
0_0_18189526_31351.cpp:19:8: error: 'max2' was not declared in this scope
char s[max2],t[max1];
^
0_0_18189526_31351.cpp:19:16: error: 'max1' was not declared in this scope
char s[max2],t[max1];
^
0_0_18189526_31351.cpp: In function 'void makenex(char*)':
0_0_18189526_31351.cpp:23:5: error: 'nex' was not declared in this scope
nex[0]=len;
^
0_0_18189526_31351.cpp: In function 'void ex_kmp(char*, char*)':
0_0_18189526_31351.cpp:53:5: error: 'extand' was not declared in this scope
extand[0]=i;
^
0_0_18189526_31351.cpp:57:12: error: 'nex' was not declared in this scope
if(nex[i-po]+i<extand[po]+po)
^
0_0_18189526_31351.cpp: In function 'int main()':
0_0_18189526_31351.cpp:80:20: error: 's' was not declared in this scope
scanf("%s",s);
^
0_0_18189526_31351.cpp:86:26: error: 'nex' was not declared in this scope
maxlen=min(i,nex[i]);
^
0_0_18189526_31351.cpp:93:16: error: 'nex' was not declared in this scope
if(nex[i]+i!=len) continue;
^
0_0_18189526_31351.cpp:94:21: error: 'nex' was not declared in this scope
if(ans>=nex[i])
^
|