i have solved this problem but by this methord getting error
#include <iostream>
#include<cmath>
using namespace std;
int k,n,i,s,sent,j;
int function(int n)
{
int s=0;
int j=1;
while(floor(n/(5^j))!=0)
{s=s+floor((n/5^j));
j++;
}
return(s);
}
int main() {cin>>k;
for(i=0;i<k;i++)
{
cin>>n;
sent=function(n);
{
cout<<sent<<"\t";
}
} // your code here
return 0;
}