Wrong Answer

foo.cc: In function 'int main()':
foo.cc:14:10: warning: iteration 998 invokes undefined behavior [-Waggressive-loop-optimizations]
   14 |   if(di[i]>max)
      |      ~~~~^
foo.cc:13:15: note: within this loop
   13 |  for(int i=2;i<=1000;i++)
      |              ~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 20, expect 407. 3ms 384.0 KiB
#2 Wrong Answer Read 40, expect 677. 2ms 384.0 KiB
#3 Wrong Answer Read 40, expect 677. 3ms 384.0 KiB
#4 Wrong Answer Read 301, expect 677. 4ms 384.0 KiB
#5 Wrong Answer Read 301, expect 667. 2ms 384.0 KiB
#6 Wrong Answer Read 40, expect 893. 1ms 384.0 KiB
#7 Wrong Answer Read 40, expect 679. 3ms 384.0 KiB
#8 Wrong Answer Read 40, expect 815. 2ms 384.0 KiB
#9 Wrong Answer Read 407, expect 899. 2ms 384.0 KiB
#10 Wrong Answer Read 40, expect 321. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1806 哪种苹果最多
语言
C++
递交时间
2022-05-08 10:40:19
评测时间
2022-05-08 10:40:19
评测机
分数
0
总耗时
30ms
峰值内存
384.0 KiB