Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:3:22: error: 'scanf' was not declared in this scope scanf("%d%d", &n, &v); ^ /in/foo.cc:4:24: error: 'memset' was not declared in this scope memset(f, 0, sizeof(f)); ^ /in/foo.cc:12:40: error: 'max' was not declared in this scope f[j] = max(f[j], f[j-k*w[i]]+k*s[i]); ^ /in/foo.cc:16:21: error: 'printf' was not declared in this scope printf("%d\n", f[v]); ^
信息
- 递交者
- 类型
- 递交
- 题目
- 逃亡的准备(hallows)
- 语言
- C++
- 递交时间
- 2019-05-15 22:50:14
- 评测时间
- 2019-05-15 22:50:14
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes