我看看qwq
by Scarab @ 2021-08-09 16:30:49
线段树部分应该没问题吧
by Scarab @ 2021-08-09 16:33:59
@[Dreamschaser](/user/425646)
by Scarab @ 2021-08-09 16:34:15
@[UperFicial](/user/360511) /bx
by DreamsChaser @ 2021-08-09 16:36:14
@[DreamsChaser](/user/425646) 第 90 行 `return` 改为 `continue`
by LawrenceSivan @ 2021-08-09 16:36:14
即可AC
by LawrenceSivan @ 2021-08-09 16:36:49
@[DreamsChaser](/user/425646) [AC记录](https://www.luogu.com.cn/record/55382910)
by LawrenceSivan @ 2021-08-09 16:37:17
@[LawrenceSivan](/user/375208) 现在过了! /bx
by DreamsChaser @ 2021-08-09 16:37:36
@[DreamsChaser](/user/425646) 要记得,这语句的意思是避免顺着双向边再回到父节点,所以应该是跳过,而不是直接 `return`
by LawrenceSivan @ 2021-08-09 16:38:51
哦吼
by Scarab @ 2021-08-09 16:38:52