/*
Name:
Copyright:
Author:
Date:
Description:未知个数的多个整数,求个数 和最大值
*/
#include<stdio.h>
#include<stdlib.h>
int main()
{
int i,maxi,temp;
i=0;
while(scanf("%d",&temp)!=EOF)
{
if(i==0)
maxi=temp;
else if
(temp>maxi) maxi=temp;
i++;
}
printf("%d %d/n",i,maxi);
system("pause");
return 0;
}
0; }