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)了

Posted by xfxyjwf at 2005-06-14 19:46:03 on Problem 1026
In Reply To:显然不是O(n)的,想一想你的total乘出来会有多大. Posted by:xfxyjwf at 2005-06-14 19:31:53
> 2^100?
> 2*3*5*7*11*13*17*19....=?

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