呵呵
写的很不错哦
我看了下
没什么问题
写的很不错哦
我看了下
没什么问题

http://www. 第二站>>>提供源码下载
2006-03-09 15:06
2006-03-09 15:29
int num(int a)
{
int b;
for(b=0;;b++)
{
if(a%5==0)
a/=5;
else
break;
}
return b;
}
void main()
{
int i,a,sum=0;
scanf("%d",&a);
for(i=5;i<=a;i+=5)
sum+=num(i);
printf("%d",sum);
getch();
}

2006-03-09 21:16
2006-03-09 22:09
2006-03-09 22:10
2006-03-09 22:24
2006-03-10 12:51
2006-03-12 23:41
2006-03-18 11:55
2006-03-18 22:33