0_0_15936698_14972.cpp: In function 'int main()':
0_0_15936698_14972.cpp:22:67: error: invalid types 'int[int]' for array subscript
dp[j][t] = min(dp[j][t], dp[j - value[i][t - 1] + weight[i]]);
^
0_0_15936698_14972.cpp:29:22: error: 'n' was not declared in this scope
for (int i = n; j <= 100; j++){
^
0_0_15936698_14972.cpp:29:25: error: 'j' was not declared in this scope
for (int i = n; j <= 100; j++){
^
|