0_0_21860496_9300.cpp: In function 'int main()':
0_0_21860496_9300.cpp:34:29: error: 'n' was not declared in this scope
while(a[k]==a[j-1]&&k<n) dp[i][++k]=1;
^
0_0_21860496_9300.cpp:41:25: error: 'n' was not declared in this scope
if(dp[i-1][j]&&(j==n||a[j]==tmp)) dp[i][j+1]=1;
^
|