我重构完去 dfs 这棵树的时候,是否选择 Root=2n−1\text{Root}=2n-1Root=2n−1 是错误的?之前我所有的题都打的是 2n−12n-12n−1。
但是有一道题死活过不了,换成 find(1)\text{find}(1)find(1) 过了题。