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

55555~~~~~数学不行,TLE

Posted by JiangLY at 2005-05-01 02:30:05 on Problem 1423
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