0_0_26053627_31061.cpp: In function 'int main()': 0_0_26053627_31061.cpp:25:33: error: 'i' was not declared in this scope for(int j=1;j<=V;j++)if(dp[N][i]>max)max=dp[N][j]; ^