阅读背景:

洛谷P2698 花盆Flowerpot【单调队列】

来源:互联网 

题目描述

Farmer John has been having trouble making his plants grow, and needs your help to water them properly. You are given the locations of N raindrops (1 <= N <= 100,000) in the 2D plane, where y represents vertical height of the drop, and x represents its location over a 1D number line:Farmer John has been having trouble maki




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: