/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(er[i]==i)
      ~~~~~^~~
/in/foo.cc:33:9: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
    er[i]=i;
    ~~~~~^~
/in/foo.cc:32:15: note: within this loop
  for(int i=2;i<=1000001;++i)
              ~^~~~~~~~~
/in/foo.cc:36:10: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(er[i]==i)
      ~~~~^
/in/foo.cc:34:15: note: within this loop
  for(int i=2;i<=1000001;++i)
              ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 40ms 7.926 MiB
#2 Wrong Answer 55ms 8.098 MiB
#3 Wrong Answer 66ms 7.941 MiB
#4 Wrong Answer 38ms 7.93 MiB
#5 Wrong Answer 38ms 7.926 MiB
#6 Wrong Answer 61ms 7.93 MiB
#7 Wrong Answer 41ms 7.926 MiB
#8 Wrong Answer 63ms 7.93 MiB
#9 Wrong Answer 69ms 7.938 MiB
#10 Wrong Answer 60ms 7.93 MiB

信息

递交者
类型
递交
题目
P2025 欧拉函数
比赛
金秋重聚模拟赛
语言
C++
递交时间
2017-10-07 19:20:40
评测时间
2017-10-07 19:21:10
评测机
分数
10
总耗时
536ms
峰值内存
8.098 MiB