foo.cc: In function 'int xzs(int*, int)':
foo.cc:12:16: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
12 | return xb;
| ^~
foo.cc:7:17: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | if(a[i]<min&&a[i]>0)
| ^~
foo.cc: In function 'int main()':
foo.cc:23:39: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
23 | cout<<xzs(a,n1)<<' '<<xzs(b,n2);
| ^
foo.cc:7:17: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | if(a[i]<min&&a[i]>0)
| ^~
foo.cc:5:13: note: 'min' was declared here
5 | int min,xb;
| ^~~
foo.cc:23:26: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
23 | cout<<xzs(a,n1)<<' '<<xzs(b,n2);
| ^~~
foo.cc:7:17: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | if(a[i]<min&&a[i]>0)
| ^~
foo.cc:5:13: note: 'min' was declared here
5 | int min,xb;
| ^~~
[Hydro](https://hydro.ac)提供评测服务