POJ 2823 Sliding Window(单调队列)
An array of size n ≤ 10 6 is given to you. There is a sliding window of size kwhich is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window moves rightwards by one position. Fo
原创
2017-07-10 13:35:42 ·
262 阅读 ·
0 评论