摘要: http://uoj.ac/problem/150 用树链剖分求lca,二分答案树上差分判断。 时间复杂度$O(nlogn)$,n,m同阶。 QwQ 阅读全文
posted @ 2016-08-23 17:23 abclzr 阅读(173) 评论(0) 推荐(0) 编辑