![「BZOJ1665」[Usaco2006 Open] The Climbing Wall 攀岩](http://hzwer.com/wp-content/themes/ly/image/image_post/2014-12-10_12-23-23.jpg)
DescriptionOneofthemostpopularattractionsatthecountyfairistheclimbingwall.Bessiewantstoplanhertripupthewallinadvanceandneedsyourhelp.Thewallis30,000millimeterswideandH(1001<=H<=30,000)millimetershighandhasF(1<=F<=10,000)hoof-holdsatuniqueX,Ycoordinatesexpressedinmillimeters.0,0isatthegroundlevelontheleftsideofthewall.Hoof-holdsareseparatedbyatleast300millimeterssincenocowcan...
![「BZOJ1753」[Usaco2005 qua] Who's in the Middle](http://hzwer.com/wp-content/themes/ly/image/image_post/QQ鎴浘20141204194727.jpg)
DescriptionFJissurveyinghisherdtofindthemostaveragecow.Hewantstoknowhowmuchmilkthis'median'cowgives:halfofthecowsgiveasmuchormorethanthemedian;halfgiveasmuchorless.GivenanoddnumberofcowsN(1<=N<10,000)andtheirmilkoutput(1..1,000,000),findthemedianamountofmilkgivensuchthatatleasthalfthecowsgivethesameamountofmilkormoreandatleasthalfgivethesameorless.输入N个数,输出升序排列后中间那个数.I...
近期评论