0_0_25606791_12788.cpp: In function 'int main()': 0_0_25606791_12788.cpp:23:29: error: 'w' was not declared in this scope if(dp[j-w[i]][k-w2[i]]&&dp[j][k]<dp[j-w1[i]][k-w2[i]]+c[i]) ^