/in/foo.cc: In function 'int zuobiao(int*, int, int)':
/in/foo.cc:28:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc:25:14: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(min==a[k])
^
/in/foo.cc: In function 'int findmin(int*, int)':
/in/foo.cc:25:14: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(min==a[k])
^
/in/foo.cc:23:10: note: 'k' was declared here
for(int k;k<i;k++)
^
/in/foo.cc: In function 'void fenjie(int, int*, int)':
/in/foo.cc:25:14: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(min==a[k])
^
/in/foo.cc:23:10: note: 'k' was declared here
for(int k;k<i;k++)
^