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:RMQ的话。。。空间上怎么办。。。。

Posted by xujiaming at 2009-03-19 18:47:49 on Problem 3264
In Reply To:RMQ的话。。。空间上怎么办。。。。 Posted by:Zeor at 2009-03-19 17:09:04
你可以用线段树实现RMQ,空间上不大
如果用Sparse Table实现的话,1<<16=65536,空间是就处理了

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