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)提供评测服务