摘要: Description 一棵树,支持换根,给u,v的lca的子树的所有结点加上一个权值x,维护子树和。 Solution 把树放到d... 阅读全文
posted @ 2018-08-09 21:58 sadstone 阅读(50) 评论(0) 推荐(0) 编辑