![「BZOJ1657」[Usaco2006 Mar] Mooo 奶牛的歌声](http://hzwer.com/wp-content/themes/ly/image/image_post/2014-12-10_12-30-38.jpg)
DescriptionFarmerJohn'sN(1<=N<=50,000)cowsarestandinginaverystraightrowandmooing.Eachcowhasauniqueheighthintherange1..2,000,000,000nanometers(FJreallyisasticklerforprecision).Eachcowmoosatsomevolumevintherange1..10,000.This"moo"travelsacrosstherowofcowsinbothdirections(exceptfortheendcows,obviously).Curiously,itisheardonlybytheclosestcowineachdirectionwhoseheightisstrictlylargerth...
近期评论