摘要: 题意:给定一棵树 任选两个点 求这两个点之间距离是3的倍数的概率 题解:点分治模板题 #include <bits/stdc++.h> using namespace std; const int MAXN = 2e4 + 5; int n, cnt, sum, ans, rt; struct no 阅读全文
posted @ 2019-10-07 17:35 lwqq3 阅读(126) 评论(0) 推荐(0) 编辑