记录详情

Accepted

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

信息

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