Wrong Answer

foo.cc: In function 'int FindiMinPos(int*, int)':
foo.cc:17:1: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
   17 | if(a[i]<min&&a[i]>0)
      | ^~
foo.cc:23:8: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
   23 | return xb;
      |        ^~
foo.cc: In function 'int main()':
foo.cc:17:1: warning: 'min' may be used uninitialized in this function [-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:17:1: warning: 'min' may be used uninitialized in this function [-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:34:47: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
   34 | cout<<FindiMinPos(a,n1)<<' '<<FindiMinPos(b,n2);
      |                                               ^
foo.cc:34:26: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
   34 | cout<<FindiMinPos(a,n1)<<' '<<FindiMinPos(b,n2);
      |                          ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 504.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#6 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#7 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#8 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#9 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#10 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1183 生日日数
语言
C++
递交时间
2022-08-07 16:47:24
评测时间
2022-08-07 16:47:24
评测机
分数
0
总耗时
23ms
峰值内存
512.0 KiB