记录详情

Accepted

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

信息

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