28pts求调,#2,#3,#11 AC 其他全 WA

P3384 【模板】重链剖分/树链剖分

才发现 `if (top[x] > top[y])` 应当改为 `if (dep[x] > dep[y])`,此帖结
by buowen123 @ 2023-11-15 22:08:06


|