Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:32:10: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] s=s+c[i]*100; ~~~^ /in/foo.cc:30:11: note: within this loop for(i=0;i<12;i++) ~^~~ /in/foo.cc:16:23: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] b[i]=(b[i-1]+300-a[i])%100; ~~~^ /in/foo.cc:14:11: note: within this loop for(i=1;i<12;i++) ~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1002 伟伟的储蓄计划
- 语言
- C++
- 递交时间
- 2019-06-12 20:08:28
- 评测时间
- 2019-06-12 20:08:28
- 评测机
- 分数
- 0
- 总耗时
- 16ms
- 峰值内存
- 272.0 KiB