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

n(1/1+1/2+1/3+...+1/n)=O(nlogn),所以两重循环OK

Posted by frkstyc at 2005-08-16 00:01:57 on Problem 1868
In Reply To:做到O(n)不需要技巧,做到nlogn还是要一点的 Posted by:xfxyjwf at 2005-08-15 23:57:36


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