摘要: 题目链接:http://poj.org/problem?id=2796 单调栈可以O(n)得到以每个位置为最小值,向左右最多扩展到哪里。 阅读全文
posted @ 2017-08-11 00:41 ACMsong 阅读(224) 评论(0) 推荐(0) 编辑