随笔分类 -  数据结构——线段树

摘要:Problem DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and ai > aj. For 阅读全文
posted @ 2017-03-27 23:26 Redscarf 阅读(252) 评论(0) 推荐(0)