记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:44: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 2; i <= 100005; i++) if (ans[i] == maxn) printf("%d ", i);
                                       ~~~~~^
/in/foo.cc:20:19: note: within this loop
  for(int i = 2; i <= 100005; i++) if (ans[i] == maxn) printf("%d ", i);
                 ~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 220.0 KiB

信息

递交者
类型
递交
题目
5-5 统计素数因子
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 13:50:15
评测时间
2021-02-04 13:50:15
评测机
分数
40
总耗时
7ms
峰值内存
228.0 KiB