摘要: 树上的路径统计问题。树的点分治。 Implementation c++ include using namespace std; const int N=1e5+5; int a[N]; vector g[N]; int size[N]; bool removed[N]; pair centroid 阅读全文
posted @ 2017-02-14 16:04 Pat 阅读(266) 评论(0) 推荐(0) 编辑