#include
#define N 5
int main()
{
int temp,n,max,i;
scanf("%d",&temp);
max=temp;
n=1;
for(i=1;iscanf("%d",&temp);
if(temp==max) n++;
if(temp>max){
max=temp;
n=1;
}
}
printf("最大数为:%d,最大数个数为:%d",max,n);
return 0;
}
/*
运行结果:
4 5 5 2 3
最大数为:5,最大数个数为:2
*/