![「BZOJ1629」[Usaco2007 Demo] Cow Acrobats](http://hzwer.com/wp-content/themes/ly/image/image_post/2014-12-10_11-29-00.jpg)
DescriptionFarmerJohn'sN(1<=N<=50,000)cows(numbered1..N)areplanningtorunawayandjointhecircus.Theirhoofedfeetpreventthemfromtightropewalkingandswingingfromthetrapeze(andtheirlastattemptatfiringacowoutofacannonmetwithadismalfailure).Thus,theyhavedecidedtopracticeperformingacrobaticstunts.Thecowsaren'tterriblycreativeandhaveonlycomeupwithoneacrobaticstunt:standingontopofeachothertoform...
![「BZOJ1636」[Usaco2007 Jan] Balanced Lineup](http://hzwer.com/wp-content/themes/ly/image/image_post/2014-12-05_9-55-34.jpg)
DescriptionForthedailymilking,FarmerJohn'sNcows(1<=N<=50,000)alwayslineupinthesameorder.OnedayFarmerJohndecidestoorganizeagameofUltimateFrisbeewithsomeofthecows.Tokeepthingssimple,hewilltakeacontiguousrangeofcowsfromthemilkinglineuptoplaythegame.However,forallthecowstohavefuntheyshouldnotdiffertoomuchinheight.FarmerJohnhasmadealistofQ(1<=Q<=200,000)potentialgroupsofcow...
![「BZOJ1679」[Usaco2005 Jan] Moo Volume 牛的呼声](http://hzwer.com/wp-content/themes/ly/image/image_post/476EC26F-546E-4F63-95E5-CDF20937CB0C.png)
DescriptionFarmerJohnhasreceivedanoisecomplaintfromhisneighbor,FarmerBob,statingthathiscowsaremakingtoomuchnoise.FJ'sNcows(1<=N<=10,000)allgrazeatvariouslocationsonalongone-dimensionalpasture.Thecowsareverychattyanimals.Everypairofcowssimultaneouslycarriesonaconversation(soeverycowissimultaneouslyMOOingatalloftheN-1othercows).WhencowiMOOsatcowj,thevolumeofthisMOOmustbee...
近期评论