题目地址:http://ac.jobdu.com/problem.php?cid=1040&pid=84
//九度OJ 教程85 求最大值
//http://ac.jobdu.com/problem.php?cid=1040&pid=84
//木有前兆输入的读法。。。
#include <stdio.h>
int main()
{
int n,a,max;
while(~scanf("%d",&max))
{
for(n=9;n;n--)
{
scanf("%d",&a);
if(max<=a)max=a;
}
printf("max=%d\n",max);
}
return 0;
}