记录详情

Wrong Answer

foo.cc: In function 'int findminpos(int*, int)':
foo.cc:15:17: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized]
   15 |                 if (a[i] < min && a[i]>0)
      |                 ^~
foo.cc:6:13: note: 'min' was declared here
    6 |         int min,imin;
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Wrong Answer Read 0, expect 8. 4ms 412.0 KiB
#4 Wrong Answer Read 0, expect 4. 3ms 412.0 KiB
#5 Wrong Answer Read 0, expect 4. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
2023 程序设计与基础(单个的数组)
语言
C++
递交时间
2023-11-21 15:47:46
评测时间
2023-11-21 15:47:46
评测机
分数
20
总耗时
20ms
峰值内存
412.0 KiB