Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   16 |                         if(s1)
      |                         ^~
foo.cc:17:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   17 |                         d[++d[0]]=s1;sum=max(sum,s1)+k;
      |                                      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Wrong Answer Read 32314604, expect 34404. 35ms 1.277 MiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Wrong Answer Read 422, expect 484. 3ms 412.0 KiB
#6 Wrong Answer Read 83, expect 707. 5ms 412.0 KiB
#7 Wrong Answer Read 48358701, expect 50024. 37ms 1.27 MiB
#8 Wrong Answer Read 48432500, expect 50446. 35ms 1.277 MiB
#9 Wrong Answer Read 48142585, expect 50385. 34ms 1.27 MiB
#10 Wrong Answer Read 33828492, expect 33988. 35ms 1.27 MiB

信息

递交者
类型
递交
题目
P2088 黑白奶牛(cow)
比赛
2023CSP热身2
语言
C++
递交时间
2023-10-01 20:12:47
评测时间
2023-10-01 20:12:47
评测机
分数
30
总耗时
199ms
峰值内存
1.277 MiB