Loading

摘要: 题意 ​ 题目链接:https://www.luogu.org/problem/P4827 ​ 给定一棵 $n$ 个节点的树和一个常数 $k$ ,对于树上的每一个节点 $i$ ,求出 $\displaystyle \sum_{i=1}^n{\rm dist}^k(i,j)$,其中 $\rm{dist 阅读全文
posted @ 2019-11-06 16:14 Paulliant 阅读(227) 评论(0) 推荐(0) 编辑