Accepted

foo.cc: In function 'int main()':
foo.cc:17:23: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
   17 |                 if(a[i]==1)
      |                    ~~~^
foo.cc:15:22: note: within this loop
   15 |         for(int i=1;i<=1005;i++)
      |                     ~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 4ms 412.0 KiB
#7 Accepted 4ms 336.0 KiB
#8 Accepted 3ms 368.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 4ms 300.0 KiB

信息

递交者
类型
递交
题目
P1450 明明的随机数
语言
C++
递交时间
2023-07-21 21:38:17
评测时间
2023-07-21 21:38:17
评测机
分数
100
总耗时
41ms
峰值内存
412.0 KiB