2013年7月31日

Code the Tree(图论,树)

摘要: ZOJ Problem Set - 1097Code the TreeTime Limit:2 Seconds Memory Limit:65536 KBA tree (i.e. a connected graph without cycles) with vertices numbered by the integers1, 2, ..., nis given. The "Prufer" code of such a tree is built as follows: the leaf (a vertex that is incident to only one edge 阅读全文

posted @ 2013-07-31 23:09 铁树银花 阅读(687) 评论(0) 推荐(0) 编辑

导航