/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:26:26: warning: iteration 100009 invokes undefined behavior [-Waggressive-loop-optimizations]
   26 |                 if(nums[i]==1)sum++;
      |                    ~~~~~~^
foo.cc:25:22: note: within this loop
   25 |         for(int i=1;i<=100010;i++){
      |                     ~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 3852, expect 17. 2ms 412.0 KiB
#2 Wrong Answer Read 3805, expect 15. 3ms 412.0 KiB
#3 Wrong Answer Read 3884, expect 29. 4ms 412.0 KiB
#4 Wrong Answer Read 3967, expect 17. 4ms 412.0 KiB
#5 Wrong Answer Read 3941, expect 17. 4ms 412.0 KiB
#6 Wrong Answer Read 3938, expect 20. 4ms 412.0 KiB
#7 Wrong Answer Read 3909, expect 21. 3ms 412.0 KiB
#8 Wrong Answer Read 3786, expect 16. 3ms 412.0 KiB
#9 Wrong Answer Read 3791, expect 19. 4ms 452.0 KiB
#10 Wrong Answer Read 4141, expect 26. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1911 珠心算测验
语言
C++
递交时间
2023-08-17 16:36:20
评测时间
2023-08-17 16:36:20
评测机
分数
0
总耗时
40ms
峰值内存
452.0 KiB