Accepted
/in/foo.cc: In function 'int FindMinPos(int*, int)': /in/foo.cc:34:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /in/foo.cc:9:10: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized] int min,index; ^~~~~ /in/foo.cc:22:3: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] if(a[i]<min && a[i]>0) ^~
信息
- 递交者
- 类型
- 递交
- 题目
- A9-2 数组中最小正数的下标
- 比赛
- 2024-3-22 信息教师练习赛(3)
- 语言
- C++
- 递交时间
- 2024-03-28 22:13:09
- 评测时间
- 2024-03-28 22:13:09
- 评测机
- 分数
- 100
- 总耗时
- 8ms
- 峰值内存
- 404.0 KiB