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

这种题要是这样就能过就太没水平了,去找一本数学分析翻一下,里面肯定有写Stirling公式的

Posted by frkstyc at 2005-05-01 08:52:38 on Problem 1423
In Reply To:55555~~~~~数学不行,TLE Posted by:JiangLY at 2005-05-01 02:30:05
> var
>   r:real;
>   n,i,l,l1:longint;
> begin
>   readln(l);
>   for l1:=1 to l do
>     begin
>       readln(n);
>       r:=0;
>       for i:=1 to n do r:=r+ln(i)/ln(10);
>       writeln(trunc(r)+1);
>     end;
> end.

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