Runtime Error

foo.cc: In function 'int main()':
foo.cc:21:9: warning: iteration 9999 invokes undefined behavior [-Waggressive-loop-optimizations]
   21 |   if(a[j]>m)
      |      ~~~^
foo.cc:20:16: note: within this loop
   20 |   for(int j=1;j<=10000;j++)
      |               ~^~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 380.0 KiB
#2 Runtime Error Segmentation fault 3ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 512.0 KiB
#4 Runtime Error Segmentation fault 2ms 512.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
5-5 统计素数因子
语言
C++
递交时间
2022-06-15 22:28:56
评测时间
2022-06-15 22:28:56
评测机
分数
0
总耗时
16ms
峰值内存
512.0 KiB