0_0_33526254_11094.cpp: In function 'void init()': 0_0_33526254_11094.cpp:17:7: error: 'j' was not declared in this scope for(j=0;j<i;++j) temp+=dp[j][0]*dp[i-1-j][1]*c[i-1][j]; ^