摘要: 题目链接 "「CTSC2018」暴力写挂" 做法 $$ dep(x) + dep(y) dep(LCA(x, y)) dep'(LCA'(x, y))\\\\ = \frac{1}{2} (dep(x) + dep(y) 2dep(LCA(x, y)) + dep(x) + dep(y) 2dep' 阅读全文
posted @ 2019-08-21 20:10 daniel14311531 阅读(241) 评论(0) 推荐(1) 编辑