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=10 ,M=10000,就可以转化成 N*LogM ,就比N+M更小么? 感觉还是只能在某些特定的情况下才会存在更优算法,低于(M+N)的通用算法还是没想出来..感觉不大可能的样子

Posted by zyl072 at 2008-10-23 18:30:26
In Reply To:如果一个数组小,一个数组大,那么可以加个二分查找 Posted by:sunmoonstar at 2008-10-23 18:10:13
您的意思是,假如N=10 ,M=10000,就可以转化成 N*LogM ,就比N+M更小么? 感觉还是只能在某些特定的情况下才会存在更优算法,低于(M+N)的通用算法还是没想出来..感觉不大可能的样子

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