#include <Stdio.h>
main()
{
int max,positive=0,negative=0;
int num;
scanf("%d",&num);
max=num;
while(num!=0)
{
if(num>0) positive++;
else if(num<0) negative++;
if(max<num) max=num;
scanf("%d",&num);
}
printf("æ大çæ°æ¯ï¼%d\n",max);
printf("æ£æ°ä¸ªæ°ï¼%d\nè´æ°ä¸ªæ°ï¼%d\n",positive,negative);
}
温馨提示:内容为网友见解,仅供参考