Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:我的一百题,虽然很水,但仍值得纪念~

Posted by zsasuke at 2009-03-16 14:43:40 on Problem 1401 and last updated at 2009-03-16 14:44:24
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator