Accepted
/in/foo.cc: In function 'int FindiMinPos(int*, int)': /in/foo.cc:21:9: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] return k; ^ /in/foo.cc: In function 'int main()': /in/foo.cc:35:27: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<FindiMinPos(num2,n2)<<endl; ^ /in/foo.cc:34:30: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<FindiMinPos(num1,n1)<<" "; ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A9-2 数组中最小正数的下标
- 比赛
- 2024程序设计与竞赛作业赛第一场(喜相逢)
- 语言
- C++
- 递交时间
- 2024-09-26 23:36:15
- 评测时间
- 2024-09-26 23:36:15
- 评测机
- 分数
- 100
- 总耗时
- 7ms
- 峰值内存
- 376.0 KiB