0_0_31754585_23253.cpp:11:8: error: 'maxn2' was not declared in this scope
int vl[maxn2],we[maxn2];
^
0_0_31754585_23253.cpp:11:18: error: 'maxn2' was not declared in this scope
int vl[maxn2],we[maxn2];
^
0_0_31754585_23253.cpp: In function 'int main()':
0_0_31754585_23253.cpp:23:9: error: 'vl' was not declared in this scope
cin>>vl[i];
^
0_0_31754585_23253.cpp:25:9: error: 'we' was not declared in this scope
cin>>we[i];
^
0_0_31754585_23253.cpp:28:19: error: 'we' was not declared in this scope
for(int j=v;j>=we[i];j--)
^
0_0_31754585_23253.cpp:34:26: error: 'vl' was not declared in this scope
b[l]=dp[j-we[i]][l]+vl[i];
^
|