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

O(n^0.833333) 就可以了

Posted by kwoktszpiu at 2010-07-04 16:09:45 on Problem 2363
In Reply To:O(n^2) 和 O(n^1.5) 就是不一样 Posted by:seu_enic at 2009-04-02 15:37:29
for ( p = 1 ; p*p*p <= n ; p++ )
    for ( q = 1 ; q*q <= n ; q++ )
	...

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