摘要: 题目大意:给定n个点的树,求树上路径长度不大于k的路径条数 题解:点分治模板 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int N=1001 阅读全文
posted @ 2021-05-27 20:56 ANhour 阅读(76) 评论(0) 推荐(0)