发布时间:2019-07-31 08:47:52
你要说明你要用的语言的,若是C的,很简单,参考函数
int min(int a[],int n)
{
int i,m;
m=a[0];
for(i=1;i<n;i++)
if (m>a[i])
m=a[i];
return m;
}