Compile Error
foo.cc: In function 'int main()': foo.cc:22:12: error: 'w' was not declared in this scope 22 | if(j >= w[i]) | ^ foo.cc:23:48: error: 'val' was not declared in this scope 23 | dp[i][j] = max(dp[i-1][j-w[i]]+val[i], dp[i-1][j]); | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1025 小飞侠的游园方案
- 语言
- C++
- 递交时间
- 2022-01-23 07:59:05
- 评测时间
- 2022-01-23 07:59:05
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes