Mine
public text v1 · immutable#include<stdio.h>
#include<math.h>
int main()
{
long int max;
long int dup;
scanf("%ld",&dup);
max = dup;
while(dup != EOF)
{
scanf("%ld",&dup);
if(dup>max)
{
max=dup;
}
}
printf("%ld\n",max);
return 0;
}