0_0_18046261_12646.cpp: In function 'int main()': 0_0_18046261_12646.cpp:20:60: error: 'max' was not declared in this scope f[j][k]=max(f[j][k],f[j-b[i]][k-1]+a[i]); ^