首页 > TAG信息列表 > dist2
1011 Highway 树的直径 树的最大生成树
链接:https://ac.nowcoder.com/acm/contest/26077/1011来源:牛客网 题目描述 In ICPCCamp there were n towns conveniently numbered with 1,2,…,n1, 2, \dots, n1,2,…,n connected with (n - 1) roads. The i-th road connecting towns aia_iai and