Runtime Error
foo.cc: In function 'int main()': foo.cc:81:25: warning: unused variable 'cnt' [-Wunused-variable] 81 | int sum[N]; int cnt = 1; | ^~~ foo.cc:90:27: warning: iteration 10001 invokes undefined behavior [-Waggressive-loop-optimizations] 90 | he[i - 1] = h + i * k; | ~~~~~~~~~~^~~~~~~~~~~ foo.cc:88:27: note: within this loop 88 | for (int i = 1; i <= 100000; i++) | ~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1473 6-6 小红打怪
- 语言
- C++
- 递交时间
- 2023-07-11 11:25:49
- 评测时间
- 2023-07-11 11:25:49
- 评测机
- 分数
- 0
- 总耗时
- 5ms
- 峰值内存
- 456.0 KiB