摘要: Problem Description The 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-10 22:57 starry_sky 阅读(222) 评论(0) 推荐(0)
摘要: 描述 喵哈哈村有一个谷歌廖,谷歌廖特别喜欢种花。 而且谷歌廖最神奇的就是,他会施展一种种花魔法,会使得一定区间的花儿,长高k厘米。 在谷歌廖施展若干次魔法之后,好奇的沈宝宝想知道,每朵花儿的高度是多少。 喵哈哈村有一个谷歌廖,谷歌廖特别喜欢种花。 而且谷歌廖最神奇的就是,他会施展一种种花魔法,会使得 阅读全文
posted @ 2017-03-10 19:01 starry_sky 阅读(343) 评论(0) 推荐(0)