Tree POJ - 1741 (树上的分治,点分治)
Give a tree with n vertices,each edge has a length(positive integer less than 1001).
Define dist(u,v)=The min distance between node u and v.
Give an integer k,for every pair (u,v) of vertices is cal
原创
2017-08-24 21:39:53 ·
265 阅读 ·
0 评论