/*#include<stdio.h>
#define N 6
typedef struct student
{
char num[10];
double s;
}str;
double fun(str *a,str *b)
{
int i,j;
double max;
max=(*a).s;//??????
for(i=0;i<N;i++)
if(a[i].s>=max)
max=a[i].s;
for(j=0;j<N;j++)
if(a[i].s==max)
{
j++;
b[j].s=a[i].s;
}
return j;
}
main()
{
str a[N]={{"Y1",89.5},{"Y2",92},{"Y3",94},{"Y4",95},{"Y5",91},{"Y6",95}};
str b[N];
printf("%ld\n",fun(a,b));
}*/
#define N 6
typedef struct student
{
char num[10];
double s;
}str;
double fun(str *a,str *b)
{
int i,j;
double max;
max=(*a).s;//??????
for(i=0;i<N;i++)
if(a[i].s>=max)
max=a[i].s;
for(j=0;j<N;j++)
if(a[i].s==max)
{
j++;
b[j].s=a[i].s;
}
return j;
}
main()
{
str a[N]={{"Y1",89.5},{"Y2",92},{"Y3",94},{"Y4",95},{"Y5",91},{"Y6",95}};
str b[N];
printf("%ld\n",fun(a,b));
}*/