foo.cc: In function 'int FindiMinPos(int*, int)':
foo.cc:20:9: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
return mini;
^~~~
foo.cc: In function 'int main()':
foo.cc:34:30: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<" "<<FindiMinPos(b,n2);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:34:27: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<" "<<FindiMinPos(b,n2);
^~~
[Hydro](https://hydro.ac)提供评测服务