0_0_14470124_15238.cpp: In function 'void manacher()':
0_0_14470124_15238.cpp:26:29: error: 'si' was not declared in this scope
a[i] = min(a[2*id-i], mx-si);
^
0_0_14470124_15238.cpp:30:34: error: expected ']' before ')' token
while(s[i-1-a[i] == s[i+1+a[i]]){
^
0_0_14470124_15238.cpp:41:17: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++){
^
0_0_14470124_15238.cpp:44:13: error: 'n' was not declared in this scope
sort(a+1,a+n,cmp);
^
0_0_14470124_15238.cpp:45:2: error: 'set' was not declared in this scope
set<int> s;
^
0_0_14470124_15238.cpp:45:6: error: expected primary-expression before 'int'
set<int> s;
^
0_0_14470124_15238.cpp:47:5: error: request for member 'insert' in 's', which is of non-class type 'char [200005]'
s.insert(a[i]);
^
|