Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:25: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
   10 |                 if (!b[i]) {
      |                      ~~~^
/in/foo.cc:9:27: note: within this loop
    9 |         for (int i = 2; i <= N; i ++) {
      |                         ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 23ms 5.293 MiB
#2 Accepted 22ms 5.289 MiB
#3 Accepted 22ms 5.297 MiB
#4 Accepted 22ms 5.285 MiB
#5 Accepted 22ms 5.293 MiB
#6 Accepted 22ms 5.227 MiB
#7 Accepted 25ms 5.297 MiB
#8 Accepted 27ms 5.297 MiB
#9 Accepted 24ms 5.293 MiB
#10 Accepted 23ms 5.289 MiB

信息

递交者
类型
递交
题目
P2780 小杨的幸运数字5级2 2024.6
语言
C++
递交时间
2025-05-02 08:40:35
评测时间
2025-05-02 08:40:35
评测机
分数
100
总耗时
235ms
峰值内存
5.297 MiB