All pastes #202533 Raw Edit

Someone

public c v1 · immutable
#202533 ·published 2006-10-14 16:02 UTC
rendered paste body
#include<stdio.h>int main(void){  long int fact(long int);  long int a[100],b,n;  int i,j;    scanf("%ld",&n);  for(i=0;i<n;i++)	scanf("%ld",&a[i]);	for(j=0;j<n;j++)	{	 b=fact(a[j]);	 printf("%ld\n",b);	}  return(0);  }long int fact(long int a){  long int x;  x=(a/5)+(a/25)+(a/125)+(a/625)+(a/3125)+(a/15625)+(a/78125)+(a/390625)+(a/1953125);  return(x);}