0_0_38622661_22276.cpp: In function 'void manacher()':
0_0_38622661_22276.cpp:20:25: error: expected primary-expression before '=' token
for (int i = 1; i < =k*2; i++)
^
0_0_38622661_22276.cpp:22:11: error: 'mx' was not declared in this scope
if (i < mx)
^~
0_0_38622661_22276.cpp:23:21: error: 'id' was not declared in this scope
d[i] = min(d[2 * id - i], mx - i);
^~
0_0_38622661_22276.cpp:23:21: note: suggested alternative: 'i'
d[i] = min(d[2 * id - i], mx - i);
^~
i
0_0_38622661_22276.cpp:30:18: error: 'mx' was not declared in this scope
if (i + d[i] > mx)
^~
0_0_38622661_22276.cpp:33:4: error: 'id' was not declared in this scope
id = i;
^~
0_0_38622661_22276.cpp:33:4: note: suggested alternative: 'i'
id = i;
^~
i
|