Accepted
foo.cc: In function 'int FindSecondMax(int*, int)': foo.cc:21:13: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 21 | int j; | ^ foo.cc:23:30: warning: 'secmax' may be used uninitialized [-Wmaybe-uninitialized] 23 | if (a[i]<max && a[i]>secmax) | ~~~~~~~~~^~~~~~~~~~~~~~ foo.cc:14:13: note: 'secmax' was declared here 14 | int secmax; | ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2023-11-21 14:38:25
- 评测时间
- 2023-11-21 14:38:25
- 评测机
- 分数
- 10
- 总耗时
- 4ms
- 峰值内存
- 412.0 KiB