Wrong Answer
/in/foo.cc: In function 'Num mult2(Num, int)': /in/foo.cc:36:12: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] if (s.s[i]>=10) ~~~~~^ /in/foo.cc:35:15: note: within this loop for(int i=1;i<=1005;i++) ~^~~~~~ /in/foo.cc:34:18: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] s.s[i]+=a.s[i]*b; ^ /in/foo.cc:33:15: note: within this loop for(int i=1;i<=1005;i++) ~^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1032 循环
- 语言
- C++
- 递交时间
- 2017-12-14 17:52:07
- 评测时间
- 2017-12-14 17:52:07
- 评测机
- 分数
- 10
- 总耗时
- 52ms
- 峰值内存
- 384.0 KiB