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