int factors_aux(int i)
{
int count=0;
while(i%5==0)
{
count++;
i/=5;
}
return count;
}
int factors(int num)
{
int count=0;
for(int i=2;i<=num;i++)
{
count+=factors_aux(i);
}
return count;
}
{
int count=0;
while(i%5==0)
{
count++;
i/=5;
}
return count;
}
int factors(int num)
{
int count=0;
for(int i=2;i<=num;i++)
{
count+=factors_aux(i);
}
return count;
}