摘要: 题意:给出一颗树,求出两个点的距离小于K的点对的个数.sL : 树的点分治,代码中有解释。1#include2#include3#include4#include5#include6#include7usingnamespacestd;8typedeflonglongLL;9constintMAX=... 阅读全文
posted @ 2014-09-25 20:55 acvc 阅读(152) 评论(0) 推荐(0) 编辑