Accepted
/in/foo.c: In function 'main': /in/foo.c:6:9: warning: 'xmin' is used uninitialized in this function [-Wuninitialized] if(xmin>xmax) {t=xmin;xmin=xmax;xmax=t;} ~~~~^~~~~ /in/foo.c:6:9: warning: 'xmax' is used uninitialized in this function [-Wuninitialized] /in/foo.c:10:2: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d",sum); ^~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- A2-1 循环结构入门:数列求和
- 比赛
- 基于基本数据类型的结构化程序设计训练2019-3-31
- 语言
- C
- 递交时间
- 2019-03-31 18:13:53
- 评测时间
- 2019-03-31 18:13:53
- 评测机
- 分数
- 100
- 总耗时
- 3ms
- 峰值内存
- 212.0 KiB