POJ-1741Tree(樹分治模板)

題意:求樹上距離小於等於m的點對有多少個。html #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<vector> using namespace std; const int maxn=1e4+100; struct node{ int x,w; node(int
相關文章
相關標籤/搜索