about 3 years ago

题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1047
分析:
这道题就是一道单调队列的裸题。。。然而我的第一想法竟然是树套树= =
bzoj1047.cpp

← CF323 Div2 bzoj1048:[HAOI2007]分割矩阵 →
 
comments powered by Disqus