Accepted
/in/foo.c: In function 'main': /in/foo.c:28:2: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] printf("%d ",a[i]); ^~~~~~~~~~~~~~~~~~ /in/foo.c:27:2: note: within this loop for(i=1;i<=5;i++) ^~~ /in/foo.c:10:8: warning: array subscript is above array bounds [-Warray-bounds] a[5]=a[5]+a[1]; ~^~~ /in/foo.c:24:3: warning: array subscript is above array bounds [-Warray-bounds] a[5]=a[5]/3; ~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1034 糖果游戏
- 语言
- C
- 递交时间
- 2023-08-21 12:07:05
- 评测时间
- 2023-08-21 12:07:05
- 评测机
- 分数
- 100
- 总耗时
- 11ms
- 峰值内存
- 248.0 KiB