哦,发现了,两次 dfs 之间比较值忘记更新了 ```cpp dfs(1, 0, 0, p, L1, 0); maxs = 0; dfs(p, 0, 0, q, L1, 1); ``` by Zhang_Wenjie @ 2024-07-08 15:02:27