0_0_28551734_18962.cpp: In function 'int main()':
0_0_28551734_18962.cpp:24:17: error: invalid types 'int[int]' for array subscript
for(int k=w[i];k<=w;k++)
^
0_0_28551734_18962.cpp:26:32: error: invalid types 'int[int]' for array subscript
qwq[k]=min(qwq[k],qwq[k-w[i]]+v[i]);
^
0_0_28551734_18962.cpp:26:35: error: 'v' was not declared in this scope
qwq[k]=min(qwq[k],qwq[k-w[i]]+v[i]);
^
|