int LCA(int x, int y) 中
int LCA(int x, int y)
// ... if (dep[x] - (1 << i) >= dep[y]) // ...
- 打成 + 致输出全 0,调了 1.5 小时,一定注意不要打错大小比较,不然查不了一点
-
+
0
1.5