[lca的这篇博客](https://liu-cheng-ao.blog.uoj.ac/blog/2969) 说了这个问题,这么做不影响复杂度,您可以看一下qwq by zzafanti @ 2023-07-26 07:17:25