0_0_21854556_26598.cpp: In function 'int main()': 0_0_21854556_26598.cpp:26:24: error: 'a' was not declared in this scope if(a[j]==a[j-1])pre[j]=pre[j-1]; ^