Wrong Answer
foo.cc: In function 'int main()': foo.cc:22:26: warning: statement has no effect [-Wunused-value] 22 | dp[i][j] == 0; | ~~~~~~~~~^~~~ foo.cc:33:47: warning: array subscript -1 is below array bounds of 'int [101]' [-Warray-bounds] 33 | dp[i][j] = max(dp[i - 1][j - 1] + a[i], dp[i][j]); | ~~~~~~~~~~~~~~~^ foo.cc:10:5: note: while referencing 'dp' 10 | int dp[10001][101]; | ^~
正在同步测试数据,请稍后 [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 题3 聪明伶俐的香穗子
- 题目数据
- 下载
- 语言
- C++
- 递交时间
- 2023-11-18 15:41:12
- 评测时间
- 2023-11-18 15:41:12
- 评测机
- 分数
- 0
- 总耗时
- 234ms
- 峰值内存
- 4.289 MiB