Accepted
foo.c: In function 'FindiMinPos': foo.c:23:16: warning: 'Index' may be used uninitialized [-Wmaybe-uninitialized] 23 | return Index; | ^~~~~ foo.c:5:17: note: 'Index' was declared here 5 | int min,Index; | ^~~~~ foo.c:18:19: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized] 18 | if(a[i]<min) | ^ foo.c:5:13: note: 'min' was declared here 5 | int min,Index; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A9-2 数组中最小正数的下标
- 比赛
- 2023 程序设计与基础(单个的数组)
- 语言
- C
- 递交时间
- 2023-11-21 14:50:15
- 评测时间
- 2023-11-21 14:50:15
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 284.0 KiB