Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:29:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d",ans); ~~~~~~^~~~~~~~~~ /in/foo.cc:21:24: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d",&f[i]),sum+=f[i]; ~~~^~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- 数列分段Section I
- 语言
- C++
- 递交时间
- 2017-10-22 20:10:01
- 评测时间
- 2017-10-22 20:10:01
- 评测机
- 分数
- 10
- 总耗时
- 7ms
- 峰值内存
- 332.0 KiB