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 |
也有一个比较简单的离线并查集,算法导论上有In Reply To:LCA问题,可以转化成RMQ,然后有一个O(n)预处理,O(1) query的算法。 Posted by:dynamic at 2004-03-16 14:33:51 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator