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

it would be even faster if you apply Stirling's formula

Posted by frkstyc at 2005-06-19 15:07:15 on Problem 1423
In Reply To:wow,~~~ I got AC in almost 1 Sec yey~~ Posted by:kcm1700 at 2005-06-19 15:04:41
> I just calculated factorial and counted digits with log...
> 
> log(2)+log(3)+log(4)+...+log(n) got ac!

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