0_0_21606012_26237.cpp: In function 'int Manacher(char*)':
0_0_21606012_26237.cpp:5:19: error: 'strlen' was not declared in this scope
n = strlen(OldStr);
^
0_0_21606012_26237.cpp:6:2: error: 'newStr' was not declared in this scope
newStr[0] = '$';
^
0_0_21606012_26237.cpp:21:4: error: 'p' was not declared in this scope
p[i] = min(p[2 * Id - i], MaxId - i);
^
0_0_21606012_26237.cpp:21:39: error: 'min' was not declared in this scope
p[i] = min(p[2 * Id - i], MaxId - i);
^
0_0_21606012_26237.cpp:25:4: error: 'p' was not declared in this scope
p[i] = 1;
^
0_0_21606012_26237.cpp:28:20: error: 'p' was not declared in this scope
while(newStr[i + p[i]] == newStr[i - p[i]])
^
0_0_21606012_26237.cpp:33:7: error: 'p' was not declared in this scope
if (p[i] + i > MaxId)
^
0_0_21606012_26237.cpp:39:7: error: 'p' was not declared in this scope
if (p[i] > MaxValue)
^
|