0_0_13645761_31805.cpp: In function 'int main()':
0_0_13645761_31805.cpp:14:25: error: 'memset' was not declared in this scope
memset(c, 0, sizeof(c));
^
0_0_13645761_31805.cpp:15:24: error: 'sizoef' was not declared in this scope
memset(v, 0, sizoef(v));
^
0_0_13645761_31805.cpp:27:10: error: invalid conversion from 'int (*)(int, int)' to 'int' [-fpermissive]
dp[j] = max{dp[j], dp[j-v[i]]+c[i]};
^
0_0_13645761_31805.cpp:27:15: error: expected ';' before '{' token
dp[j] = max{dp[j], dp[j-v[i]]+c[i]};
^
0_0_13645761_31805.cpp:32:2: error: 'reutnrn' was not declared in this scope
reutnrn 0;
^
|