记录详情

Accepted

foo.cc: In function 'void pre()':
foo.cc:11:14: warning: iteration 1000008 invokes undefined behavior [-Waggressive-loop-optimizations]
   11 |   if (prime[i] == 0) b[++k] = i; //如果没有被标记为1,就是质数
      |       ~~~~~~~^
foo.cc:9:20: note: within this loop
    9 |  for (int i = 2; i <= N; i++)//找出N以内的素数并标记
      |                  ~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 11ms 1.625 MiB
#2 Accepted 10ms 1.625 MiB
#3 Accepted 13ms 1.625 MiB
#4 Accepted 10ms 1.625 MiB
#5 Accepted 10ms 1.625 MiB
#6 Accepted 17ms 1.625 MiB
#7 Accepted 10ms 1.625 MiB
#8 Accepted 11ms 1.625 MiB
#9 Accepted 12ms 1.625 MiB
#10 Accepted 18ms 1.625 MiB
#11 Accepted 26ms 1.625 MiB
#12 Accepted 20ms 1.625 MiB
#13 Accepted 21ms 1.625 MiB
#14 Accepted 26ms 1.625 MiB
#15 Accepted 12ms 1.625 MiB
#16 Accepted 12ms 1.625 MiB
#17 Accepted 11ms 1.625 MiB
#18 Accepted 12ms 1.625 MiB
#19 Accepted 11ms 1.625 MiB
#20 Accepted 12ms 1.75 MiB
#21 Accepted 12ms 1.625 MiB
#22 Accepted 15ms 1.625 MiB
#23 Accepted 12ms 1.625 MiB
#24 Accepted 13ms 1.625 MiB
#25 Accepted 12ms 1.625 MiB
#26 Accepted 13ms 1.625 MiB
#27 Accepted 13ms 1.625 MiB
#28 Accepted 11ms 1.625 MiB
#29 Accepted 13ms 1.625 MiB
#30 Accepted 11ms 1.625 MiB

信息

递交者
类型
递交
题目
P1383 Problem B. MST
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 18:29:43
评测时间
2022-07-08 18:29:43
评测机
分数
100
总耗时
423ms
峰值内存
1.75 MiB