0_0_25864929_25535.cpp: In function 'int main()':
0_0_25864929_25535.cpp:88:17: error: 'j' was not declared in this scope
for(j=k;j>=nod[i].co;j--){
^
0_0_25864929_25535.cpp:89:38: error: 'a' was not declared in this scope
dp[j]=max(dp[j],dp[j-a[i].co]+a[i].val);
^
|