0_0_40000574_14635.cpp:11:5: error: expected unqualified-id before '=' token
11 | int =dp[M][M];
| ^
0_0_40000574_14635.cpp: In function 'void solve()':
0_0_40000574_14635.cpp:30:31: error: 'dp' was not declared in this scope; did you mean 'mp'?
30 | for (int i=0;i<=x;i++)dp[i][0]=0;
| ^~
| mp
0_0_40000574_14635.cpp:31:31: error: 'dp' was not declared in this scope; did you mean 'mp'?
31 | for (int i=0;i<=y;i++)dp[0][i]=0;
| ^~
| mp
0_0_40000574_14635.cpp:36:40: error: 'dp' was not declared in this scope; did you mean 'mp'?
36 | if (a[i]==b[j])dp[i][j]=dp[i-1][j-1]+mp[b[i]];
| ^~
| mp
0_0_40000574_14635.cpp:37:30: error: 'dp' was not declared in this scope; did you mean 'mp'?
37 | else dp[i][j]=max(dp[i-1][j],dp[i][j-1]);
| ^~
| mp
0_0_40000574_14635.cpp:40:16: error: 'dp' was not declared in this scope; did you mean 'mp'?
40 | cout <<dp[x][y]<<"\n";
| ^~
| mp
|