Accepted
/in/foo.cc: In function 'int FindiMax(int)': /in/foo.cc:7:8: warning: variable 'max' set but not used [-Wunused-but-set-variable] int i,max; ^~~ /in/foo.cc: In function 'int main()': /in/foo.cc:25:8: warning: 'n' is used uninitialized in this function [-Wuninitialized] printf("%d",FindiMax(n)); ~~~~~~^~~~~~~~~~~~~~~~~~ /in/foo.cc: In function 'int FindiMax(int)': /in/foo.cc:19:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] return pos; ^~~
信息
- 递交者
- 类型
- 递交
- 比赛
- 数据结构课堂练习9-9
- 语言
- C++
- 递交时间
- 2019-09-09 10:59:52
- 评测时间
- 2019-09-09 10:59:52
- 评测机
- 分数
- 100
- 总耗时
- 6ms
- 峰值内存
- 208.0 KiB