0_0_13315918_13301.cpp: In function 'int main()': 0_0_13315918_13301.cpp:43:18: error: 'i' was not declared in this scope cout<<dp[i][j]<<endl; ^ 0_0_13315918_13301.cpp:43:21: error: 'j' was not declared in this scope cout<<dp[i][j]<<endl; ^