0_0_30586646_30142.cpp: In lambda function:
0_0_30586646_30142.cpp:29:10: error: expected '{' before '[' token
do[i][j]=max(dp[i-1][j],dp[i][j-1])+mp[i][j];
^
0_0_30586646_30142.cpp: In function 'int main()':
0_0_30586646_30142.cpp:29:10: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')
0_0_30586646_30142.cpp:30:8: error: expected 'while' before '(' token
for(int k=1;k<j;k++){
^
0_0_30586646_30142.cpp:30:9: error: expected primary-expression before 'int'
for(int k=1;k<j;k++){
^
0_0_30586646_30142.cpp:30:9: error: expected ')' before 'int'
0_0_30586646_30142.cpp:30:9: error: expected ';' before 'int'
0_0_30586646_30142.cpp:30:24: error: expected ';' before ')' token
for(int k=1;k<j;k++){
^
|