0_0_29895514_5389.cpp: In function 'int main()': 0_0_29895514_5389.cpp:25:19: error: 'k' was not declared in this scope dp[i][k]=max(dp[i-1][j],dp[i][j]); ^