树剖全RE求调

P4114 Qtree1

$4e6$ 开四倍空间你是真的逆天
by Genshineer @ 2023-12-17 12:08:23


@[Genshineer](/user/191248) 4e5也不行
by tianyu_awa @ 2023-12-17 12:09:54


@[tianyu_awa](/user/716260) 只开 1e5 能过一个点,应该是那里数组越界了,不是开小了的问题
by Genshineer @ 2023-12-17 12:11:48


另外你 modifynode 函数里面默认修改 v[i] 了,要根据实际的dfn序分类,可能会改 u[i]
by Genshineer @ 2023-12-17 12:15:10


你样例都过不了吧???
by Genshineer @ 2023-12-17 12:22:46


@[Genshineer](/user/191248) 谢谢
by tianyu_awa @ 2023-12-17 12:28:44


此贴结
by tianyu_awa @ 2023-12-17 12:29:06


|