for(i=0;i<4;i++)
{
total[i]=s[i][0]+s[i][1]+s[i][2];
}
max=total[0];
seat=0;
for(i=0;i<4;i++)
{
if(total[i]>max)
{
max=total[i];
seat=i;
}
}
cout <<"平均最高分:"<<name[seat]<<max/3<<endl;
if(total[i]>max)
{
max=total[i];
seat=i;
}
}
cout <<"平均最高分:"<<name[seat]<<max/3<<endl;