Accepted
foo.cc: In function 'int FindiMinPos(int*, int)': foo.cc:23:16: warning: 'xb' may be used uninitialized [-Wmaybe-uninitialized] 23 | return xb; | ^~ foo.cc:5:17: note: 'xb' was declared here 5 | int min,xb; | ^~ foo.cc:17:17: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized] 17 | if(a[i]<min&&a[i]>0) | ^~ foo.cc:5:13: note: 'min' was declared here 5 | int min,xb; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1068 A9-2 数组中最小正数的下标
- 语言
- C++
- 递交时间
- 2023-12-30 19:38:22
- 评测时间
- 2023-12-30 19:38:22
- 评测机
- 分数
- 100
- 总耗时
- 22ms
- 峰值内存
- 516.0 KiB