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

可以用2维线段树,或四分树。

Posted by AllwaysDead at 2009-02-14 21:50:27 on Problem 3368
In Reply To:请教此题的序列若是无序的,该如何解决?即如何查询一个无序区间内最高的出现频数 Posted by:kamel52045386 at 2008-11-10 12:21:34
统计区间[i,j]中数值在区间[p,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