Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:27:6: warning: variable 'a2' set but not used [-Wunused-but-set-variable] int a2[1000]; ^~ /in/foo.cc: In function 'int Max(int*, int)': /in/foo.cc:13:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] return max; ^~~ /in/foo.cc: In function 'int main()': /in/foo.cc:34:3: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] if(a1[i] == max) ^~
信息
- 递交者
- 类型
- 递交
- 比赛
- 小兰赛 2018/12/2
- 语言
- C++
- 递交时间
- 2018-12-02 10:53:04
- 评测时间
- 2018-12-02 10:53:04
- 评测机
- 分数
- 40
- 总耗时
- 20ms
- 峰值内存
- 208.0 KiB