Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:9:44: warning: iteration 999 invokes undefined behavior [-Waggressive-loop-optimizations] for(int i = 1; i <= 1000; i++)a[i+1] = a[i] + 2; ~~~^ /in/foo.cc:9:19: note: within this loop for(int i = 1; i <= 1000; i++)a[i+1] = a[i] + 2; ~~^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1265 3-2 编程题
- 语言
- C++
- 递交时间
- 2024-06-15 14:33:09
- 评测时间
- 2024-06-15 14:33:09
- 评测机
- 分数
- 60
- 总耗时
- 7ms
- 峰值内存
- 400.0 KiB