Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:24: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations]
   11 |                 if (a[i] == 0)
      |                     ~~~^
/in/foo.cc:10:27: note: within this loop
   10 |         for (int i = 2; i <= N; i ++) {
      |                         ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 20ms 8.758 MiB
#2 Accepted 20ms 8.66 MiB
#3 Accepted 20ms 8.723 MiB
#4 Accepted 20ms 8.59 MiB
#5 Accepted 21ms 8.66 MiB
#6 Accepted 21ms 8.613 MiB
#7 Accepted 21ms 8.742 MiB
#8 Accepted 20ms 8.707 MiB
#9 Accepted 21ms 8.77 MiB
#10 Accepted 20ms 8.758 MiB

信息

递交者
类型
递交
题目
P2812 5级2挑战怪物 2024.9
比赛
2025.5.2-18高级班练习
语言
C++
递交时间
3 周前
评测时间
3 周前
评测机
分数
100
总耗时
210ms
峰值内存
8.77 MiB