![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
单调栈
文章平均质量分 77
black_miracle
这个作者很懒,什么都没留下…
展开
-
zstu 4247 单调栈
萌新的旅行 Time Limit: 1 Sec Memory Limit: 128 MB Description zstu的萌新们准备去自助旅行,他们租了一辆吉普车,然后选择了n个城市作为游览地点。然后他们惊喜的发现他们选择的城市刚好绕城一个环。 也就是说如果给所有城市按照0,1,2,……,n-1编号,0号城市和n-1号城市是相邻的,并且只能从i号城市去(i+1)%n原创 2016-11-22 19:44:56 · 194 阅读 · 0 评论 -
SPOJ MINSUB 二分+单调栈
Largest Submatrix no tags You are given an matrix M (consisting of nonnegative integers) and an integer K. For any submatrix of M' of M define min(M') to be the minimum value of all the原创 2017-01-22 13:59:45 · 278 阅读 · 0 评论 -
Codeforces gym 101102 D 单调栈
Rectangles time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output Given an R×C grid with each cell containing an原创 2017-05-01 21:49:15 · 410 阅读 · 0 评论