求助!WA pts45

P1852 跳跳棋

调出来了,我是小丑。 记得在 $\operatorname{lca}$ 之前先把他们跳到同一高度,而不是一步到位。 也就是加上 ```tot = A.tot - B.tot``` 即可。
by 北射天狼 @ 2023-07-28 16:39:01


|