记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:26:47: warning: array subscript -1 is below array bounds of 'int [101]' [-Warray-bounds]
   26 |                 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)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4211820, expect 9050. 4ms 412.0 KiB
#2 Wrong Answer Read 4220273, expect 13811. 3ms 412.0 KiB
#3 Wrong Answer Read 4220340, expect 13992. 4ms 412.0 KiB
#4 Wrong Answer Read 4211815, expect 8132. 3ms 412.0 KiB
#5 Wrong Answer Read 4246606, expect 41741. 4ms 540.0 KiB
#6 Wrong Answer Read 4252769, expect 44459. 4ms 540.0 KiB
#7 Wrong Answer Read 1802547543, expect 26575. 4ms 540.0 KiB
#8 Wrong Answer Read 4334949, expect 87756. 4ms 796.0 KiB
#9 Wrong Answer Read 279217270, expect 85473. 4ms 796.0 KiB
#10 Wrong Answer Read 4446971, expect 89116. 4ms 796.0 KiB
#11 Wrong Answer Read 1132755610, expect 99112. 17ms 4.277 MiB
#12 Wrong Answer Read 295824505, expect 98859. 17ms 4.277 MiB
#13 Wrong Answer Read 4912692, expect 98711. 16ms 4.277 MiB
#14 Wrong Answer Read 1755527272, expect 98999. 15ms 4.277 MiB
#15 Wrong Answer Read 465727373, expect 98534. 15ms 4.277 MiB
#16 Wrong Answer Read 5055995, expect 98989. 16ms 4.277 MiB
#17 Wrong Answer Read 41112316, expect 98681. 16ms 4.277 MiB
#18 Wrong Answer Read 842886592, expect 98728. 16ms 4.277 MiB
#19 Wrong Answer Read 4410671, expect 98343. 17ms 4.199 MiB
#20 Wrong Answer Read 4297391, expect 67583. 18ms 4.277 MiB

信息

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