0_0_32543549_7204.cpp: In function 'void manacher()':
0_0_32543549_7204.cpp:2:20: error: 's' was not declared in this scope
int len=strlen(s+1);
^
0_0_32543549_7204.cpp:2:23: error: 'strlen' was not declared in this scope
int len=strlen(s+1);
^
0_0_32543549_7204.cpp:4:9: error: 'c' was not declared in this scope
c[i*2]=s[i];
^
0_0_32543549_7204.cpp:6:6: error: 'c' was not declared in this scope
}c[0]='$';
^
0_0_32543549_7204.cpp:9:12: error: 'rad' was not declared in this scope
if(rad[k]+k>i)rad[i]=min(k+rad[k]-i,rad[2*k-i]);
^
0_0_32543549_7204.cpp:9:55: error: 'min' was not declared in this scope
if(rad[k]+k>i)rad[i]=min(k+rad[k]-i,rad[2*k-i]);
^
0_0_32543549_7204.cpp:11:19: error: 'rad' was not declared in this scope
while(c[i-rad[i]]==c[i+rad[i]])rad[i]++;
^
0_0_32543549_7204.cpp:12:14: error: 'rad' was not declared in this scope
if(i+rad[i]>k+rad[k])k=i;
^
|