#include<stdio.h>
int main(){
int max=0,min=1<<31,max_id,min_id;
for(int i=0;i<=12 && scanf("%i",&a[i])!=EOF;i++)
if(max<a[i]) max=a[i],max_id=i;
if(min>a[i]) min=a[i],min_id=i;
}
printf("最大:[%i][%i] %i",&(max_id/4),&(max_id%4) &max);
printf("最小:[%i][%i] %i",&(min_id/4),&(min_id%4) &min);
}
温馨提示:内容为网友见解,仅供参考