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 |
预处理是O(n),每条查询是O(1),对于最坏的情况,几乎每两个点都要算一次RMQIn Reply To:我觉得因为±RMQ算法整个是N杂度,所以不会到N^2啊 Posted by:LIANGLIANG at 2004-12-17 20:54:45 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator