Live2D
摘要: 题目传送门 题目大意 给出两个大小为 \(n\) 的树,求出: \(\max\{\text{depth}(x)+\text{depth}(y)-\text{depth}(\text{LCA}(x,y)-\text{depth}^{'}(\text{LCA}^{'}(x,y)))\}\) \(n\le 阅读全文
posted @ 2020-09-02 17:33 Dark_Romance 阅读(131) 评论(0) 推荐(0) 编辑