0_0_22232989_17194.cpp: In function 'int main()': 0_0_22232989_17194.cpp:22:19: error: 'f' was not declared in this scope a[j]=max(a[j],f[j-v[i]]+w[i]); ^