0_0_35767094_13468.cpp: In function 'int main()':
0_0_35767094_13468.cpp:14:45: error: 'memset' was not declared in this scope
memset(maxValue, 0, sizeof(maxValue));
^
0_0_35767094_13468.cpp:24:77: error: 'max' was not declared in this scope
maxValue[v] = max(maxValue[v], maxValue[v - w[i]] + c[i]);
^
|