摘要: DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i aj.For a given sequence of ... 阅读全文
posted @ 2015-07-29 16:31 Painting、时光 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Bobo has a tree,whose vertices are conveniently labeled by 1,2,...,n.Each node has a weightwi. All the weights are distrinct.A set with m nodesv1,v2,.... 阅读全文
posted @ 2015-07-29 13:57 Painting、时光 阅读(121) 评论(0) 推荐(0) 编辑