摘要:
Luogu P2889 [USACO07NOV]挤奶的时间Milking Time 题目描述 传送门Bessie is such a hard-working cow. In fact, she is so focused on maximizing her productivity that sh 阅读全文
摘要:
P2854 [USACO06DEC]牛的过山车Cow Roller Coaster 题目描述 The cows are building a roller coaster! They want your help to design as fun a roller coaster as possib 阅读全文
摘要:
逆序对总结 概念 度娘是这么说的: 设 A 为一个有 n 个数字的有序集 (n>1),其中所有数字各不相同。 如果存在正整数 i, j 使得 1 ≤ i < j ≤ n 而且 A[i] > A[j],则 <a[i], a[j]="">这个有序对称为 A 的一个逆序对,也称作逆序数 求法 通常情况下有 阅读全文