```query``` 倒数第二行改为 ``` ans = max(ans, query(1, dfn[u]+1, dfn[v]));``` by hereiszd @ 2022-09-29 13:53:19
@[cancan123456](/user/448887) by hereiszd @ 2022-09-29 13:53:33