can anyone tell me where is the problem in my code? Thank you.

#include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t–)
{
long long int n,mul=1,count=0,sum=0;
cin>>n;
while(mul<n){
mul*=5;
if(mul<n){
count++;
sum+= n/pow(5,count);
}
}
cout<<sum<<endl;
}

}