0_0_38651106_23773.cpp: In function 'int main()': 0_0_38651106_23773.cpp:42:52: error: invalid types 'int[int]' for array subscript f[j]=max(f[j],f[j-k]+w[i][k]); ^