poj 1849 Two(树形dp求直径)
树的直径:一棵树中两个点间的最长距离。DescriptionThe city consists of intersections and streets that connect them.Heavy snow covered the city so the mayor Milan gave to the winter-service a list of streets that ha...