ফ্যাক্টরিয়াল 100
Link Of Problem:: http://cpbook.subeen.com/2016/02/100.html
soliution link:: http://paste.ubuntu.com/24311715/
soliution::
#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
long long int a,b,c=0,d,e;
cin>>e;
while(e--)
{
c=0;
cin>>a;
for(d=1;d<=a;d++)
{
b=d;
if(b%5==0)
{
while(b%5==0)
{
c++;
b=b/5;
}
}
}
cout<<c<<endl;
}
return 0;
}
Can u pls write that in c with description(using comment);
ReplyDeleteThanks.
Deletedear 'Anonymous',
We will send you a solution of this problem in c with description soon.
Stay with us;
Happy_Coding;
Dear Anonymous This is for U// link::http://paste.ubuntu.com/24318965/
ReplyDeletetomader blogta besh valo.sundor hoyeche.GoOd job......
ReplyDeleteHAapPy CodIng...!!!
Can anyone help to solve it
ReplyDeletehttp://cpbook.subeen.com/2012/11/age-calculation.html?m=1