Accepted
foo.cc: In function 'int FindMin(int*, int)': foo.cc:16:16: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 16 | return k; | ^ foo.cc:6:22: note: 'k' was declared here 6 | int max=a[0],k; | ^ foo.cc: In function 'int main()': foo.cc:27:15: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 27 | cout<<k; | ^ foo.cc:6:22: note: 'k' was declared here 6 | int max=a[0],k; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- A7-3 数组的极值下标函数
- 比赛
- 2024-3-22 信息教师练习赛(3)
- 语言
- C++
- 递交时间
- 2024-03-23 09:03:17
- 评测时间
- 2024-03-23 09:03:17
- 评测机
- 分数
- 100
- 总耗时
- 14ms
- 峰值内存
- 552.0 KiB