What's wrong with the judge?

I was solving a problem ‘FCRTL’ and I got wrong answer for the following input, can anyone explain why?

#include <stdio.h>

int main(){
	long long int t;
	scanf("%lld",&t);
	long long int arr[t];
		for(int i=0;i<t;i++){
			scanf("%lld",&arr[i]);
		}
		for(int k=0;k<t;k++){
			long long int sum = 0;
			for(int i=5;i<arr[k];i=i*5){
				long long int quo=arr[k]/i;
				sum = sum + quo;
			}
			printf("%lld\n",sum);
		}
	}