摘要: DescriptionBob has traveled to byteland, he find the N cities in byteland formed a tree structure, a tree structure is very special structure, there is exactly one path connecting each pair of nodes, and a tree with N nodes has N - 1 edges.As a traveler, Bob wants to journey between those N cities, 阅读全文
posted @ 2013-07-28 00:02 Oyking 阅读(526) 评论(0) 推荐(0) 编辑