Accepted
foo.cc: In function ‘int FindiMinPos(int*, int)’: foo.cc:17:1: warning: ‘min’ may be used uninitialized [-Wmaybe-uninitialized] 17 | if(a[i]<min&&a[i]>0) | ^~ foo.cc:5:5: note: ‘min’ was declared here 5 | int min,xb; | ^~~ foo.cc:23:8: warning: ‘xb’ may be used uninitialized [-Wmaybe-uninitialized] 23 | return xb; | ^~ foo.cc:5:9: note: ‘xb’ was declared here 5 | int min,xb; | ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1068 A9-2 数组中最小正数的下标
- 语言
- C++
- 递交时间
- 2024-06-29 19:49:12
- 评测时间
- 2024-06-29 19:49:12
- 评测机
- 分数
- 100
- 总耗时
- 15ms
- 峰值内存
- 536.0 KiB