跳到正文

个人记录

换根 lca

Mr_Min约 1 分钟
原文
文章信息与版本

文章信息

发布
2025年11月17日
收录
2026年10月29日
更新
2026年10月29日
篇幅
约 1 分钟

版本

  1. v1当前

lcart(x,y)=lca(x,y)⊕lca(x,rt)⊕lca(y,rt)\text{lca}_{rt}(x, y) = \text{lca}(x, y) \oplus \text{lca}(x, rt) \oplus \text{lca}(y, rt)。

我怎么这个都不会????????????????

原文