Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:12: warning: iteration 10000003 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(!pr7[i])pr7[temp]=i,temp=i;
       ~~~~~^
/in/foo.cc:19:15: note: within this loop
  for(int i=2;i<=maxx;i++){
               ^
/in/foo.cc:15:12: warning: iteration 10000004 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(!pr7[i]&&check(i))
       ~~~~~^
/in/foo.cc:14:15: note: within this loop
  for(int i=1;i<=maxx;i++)
               ^
# 状态 耗时 内存占用
#1 Accepted 291ms 38.645 MiB
#2 Accepted 290ms 38.656 MiB
#3 Accepted 288ms 38.645 MiB
#4 Accepted 288ms 38.645 MiB
#5 Accepted 287ms 38.641 MiB
#6 Accepted 290ms 38.652 MiB
#7 Accepted 296ms 38.645 MiB
#8 Accepted 309ms 38.652 MiB
#9 Accepted 601ms 38.648 MiB
#10 Accepted 747ms 38.652 MiB

信息

递交者
类型
递交
比赛
2024CSP模拟赛4
语言
C++
递交时间
2024-10-06 20:55:14
评测时间
2024-10-06 20:55:14
评测机
分数
100
总耗时
3690ms
峰值内存
38.656 MiB