
单调栈
长歌丶采薇
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ-3250(单调栈)
POJ-3250(单调栈)Some of Farmer John’s N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants to count the number of other cows that can s...原创 2018-11-03 19:14:24 · 238 阅读 · 1 评论 -
CodeForces 280B(单调栈)
CodeForces 280B Maximum Xor Secondary(单调栈)Bike loves looking for the second maximum element in the sequence. The second maximum element in the sequence of distinct numbers x1, x2, …, xk (k > 1) is...原创 2018-11-18 23:44:53 · 475 阅读 · 0 评论