foo.cc: In function 'int FindiMinPos(int*, int)':
foo.cc:14:9: warning: 'imin' may be used uninitialized in this function [-Wmaybe-uninitialized]
return imin;
^~~~
foo.cc: In function 'int main()':
foo.cc:29:48: warning: 'imin' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<" "<<FindiMinPos(b,n2)<<endl;
^
foo.cc:29:27: warning: 'imin' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<" "<<FindiMinPos(b,n2)<<endl;
^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务