记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:29:12: warning: iteration 10000009 invokes undefined behavior [-Waggressive-loop-optimizations]
   29 |      if(h[i]==1) cout<<i<<endl;
      |         ~~~^
foo.cc:28:18: note: within this loop
   28 |     for(int i=1;i<=10000010;i++)
      |                 ~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥632.0 KiB
#2 Runtime Error Segmentation fault 192ms 748.0 KiB
#3 Runtime Error Segmentation fault 142ms 504.0 KiB
#4 Time Exceeded ≥1099ms ≥512.0 KiB
#5 Runtime Error Segmentation fault 458ms 504.0 KiB
#6 Runtime Error Segmentation fault 178ms 628.0 KiB
#7 Runtime Error Segmentation fault 990ms 516.0 KiB
#8 Time Exceeded ≥1100ms ≥760.0 KiB
#9 Time Exceeded ≥1100ms ≥640.0 KiB
#10 Time Exceeded ≥1100ms ≥768.0 KiB

信息

递交者
类型
递交
题目
P2466 取牌游戏
语言
C++
递交时间
2022-01-16 14:28:20
评测时间
2022-01-16 14:28:20
评测机
分数
0
总耗时
7465ms
峰值内存
768.0 KiB