Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:我的一百题,虽然很水,但仍值得纪念~In Reply To:我的一百题,虽然很水,但仍值得纪念~ Posted by:rudylau at 2008-09-02 01:49:20 > #include<iostream> > using namespace std; > int main() > { > int x,d,c,co; > cin>>x; > while(x--) > { > cin>>d; > for(co=0,c=5;d>=c;c*=5)co+=d/c; > cout<<co<<endl; > } > return 0; > } 纪念第1000次提交~~~~~~~~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator