int n;
scanf(“%d”,&n);
int f[n];
int Minimum=1000;
int position = 0;
for(int j =0;j<n;j)
scanf(“%d”,&f[j]);
for(int i=0;i<n;i)
{
if(f[i]<Minimum){
Minimum = f[i];
position = i;
}
}
printf(“Minimum value: %d\n”,Minimum);
printf(“Position: %d”,position);
//区分最小值和最大值