题目:http://www.lydsy.com/JudgeOnline/problem.php?id=2653题解:不愧是CLJ的题。Orz 有关中位数的题一般可以二分,大于的标记为1,小于的标记为-1。这样本题单词询问只要求最大子序列连续和即可,线段树搞定。但多次询问。 当二分的值只有... Read More
posted @ 2015-03-15 18:23 ZYF-ZYF Views(206) Comments(0) Diggs(0) Edit