记录详情

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]);
                                ~~~~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 400.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Wrong Answer 1ms 456.0 KiB
#4 Wrong Answer 1ms 468.0 KiB
#5 Wrong Answer 2ms 584.0 KiB
#6 Wrong Answer 1ms 580.0 KiB
#7 Wrong Answer 1ms 580.0 KiB
#8 Wrong Answer 2ms 744.0 KiB
#9 Wrong Answer 2ms 760.0 KiB
#10 Wrong Answer 2ms 760.0 KiB
#11 Wrong Answer 7ms 4.266 MiB
#12 Wrong Answer 7ms 4.188 MiB
#13 Wrong Answer 7ms 4.289 MiB
#14 Wrong Answer 7ms 4.238 MiB
#15 Wrong Answer 7ms 4.219 MiB
#16 Wrong Answer 7ms 4.309 MiB
#17 Wrong Answer 7ms 4.254 MiB
#18 Wrong Answer 7ms 4.246 MiB
#19 Wrong Answer 7ms 4.273 MiB
#20 Wrong Answer 7ms 4.312 MiB

信息

递交者
类型
递交
题目
题3 聪明伶俐的香穗子
题目数据
下载
语言
C++
递交时间
2023-11-18 15:42:31
评测时间
2023-11-18 15:42:31
评测机
分数
0
总耗时
96ms
峰值内存
4.312 MiB