Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:26: warning: statement has no effect [-Wunused-value]
dp[i][j] == 0;
~~~~~~~~~^~~~
/in/foo.cc:30:47: warning: array subscript is below array bounds [-Warray-bounds]
dp[i][j] = max(dp[i - 1][j - 1] + a[i], dp[i][j]);
~~~~~~~~~~~~~~~^
信息
- 递交者
- 类型
- 递交
- 题目
- 题3 聪明伶俐的香穗子
- 题目数据
- 下载
- 语言
- C++
- 递交时间
- 2023-11-18 15:42:31
- 评测时间
- 2023-11-18 15:42:31
- 评测机
- 分数
- 0
- 总耗时
- 96ms
- 峰值内存
- 4.312 MiB