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

Re:看来是TC做多了,已经对这种复杂度 熟视无睹了 - -

Posted by richardxx at 2008-03-23 11:05:01 on Problem 3443
In Reply To:看来是TC做多了,已经对这种复杂度 熟视无睹了 - - Posted by:wywcgs at 2008-03-22 21:36:12
其实你这样做的话复杂度不一定比搜索的高。
这道题我用的二次搜索的办法,速度还是很理想的,只是我自己不知道复杂度是多少,不过教主不妨把实现出来看看你的算法效率如何啊。。

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