![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构--单调队列/单调栈
二喵君
菜的不安详
展开
-
POJ2833 The Average【单调队列】
题目:In a speech contest, when a contestant finishes his speech, the judges will then grade his performance. The staff remove the highest grade and the lowest grade and compute the average of the res...原创 2019-03-04 11:11:09 · 203 阅读 · 0 评论 -
POJ 3250 Bad Hair Day【单调栈】
题目:Some of Farmer John'sNcows (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 see the t...原创 2019-04-08 11:57:53 · 317 阅读 · 0 评论