0_0_32350249_28738.cpp: In member function 'void Palindromic_Tree::count()':
0_0_32350249_28738.cpp:57:22: error: invalid types 'int[int]' for array subscript
int l=last[i]-len[i]+2,r=last[i]+1;
^
0_0_32350249_28738.cpp:58:10: error: 'r' was not declared in this scope
int n=r-l+1,mid=(l+r)>>1;
^
0_0_32350249_28738.cpp:60:11: error: 'mid' was not declared in this scope
if(h1[mid]-h1[l-1]*h2[mid-l+1]==h1[r]-h1[mid-1]*h2[r-mid+1])ans[last[i]]+=cnt[i];
^
0_0_32350249_28738.cpp:60:75: error: invalid types 'int[int]' for array subscript
if(h1[mid]-h1[l-1]*h2[mid-l+1]==h1[r]-h1[mid-1]*h2[r-mid+1])ans[last[i]]+=cnt[i];
^
0_0_32350249_28738.cpp:62:11: error: 'mid' was not declared in this scope
if(h1[mid]-h1[l-1]*h2[mid-l+1]==h1[r]-h2[mid]*h2[r-mid])ans[len[i]]+=cnt[i];
^
|