0_0_16623337_2427.cpp: In function 'int main()':
0_0_16623337_2427.cpp:18:8: error: 'i' was not declared in this scope
for (i=1;i<=m;++i)
^
0_0_16623337_2427.cpp:20:9: error: 'j' was not declared in this scope
for (j=1;j<= n; +k)
^
0_0_16623337_2427.cpp:20:21: error: 'k' was not declared in this scope
for (j=1;j<= n; +k)
^
0_0_16623337_2427.cpp:28:41: error: expected ']' before numeric constant
dp[i][k] = max(dp[i-1][k], dp[i][k 1]);
^
|