Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
可以用2维线段树,或四分树。In Reply To:请教此题的序列若是无序的,该如何解决?即如何查询一个无序区间内最高的出现频数 Posted by:kamel52045386 at 2008-11-10 12:21:34 统计区间[i,j]中数值在区间[p,q]中的数的最大频度。 不过因为内存限制,得把数据规模降下来。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator