![「BZOJ1685」[Usaco2005 Oct] Allowance 津贴](http://hzwer.com/wp-content/themes/ly/image/image_post/2014-12-10_12-56-43.jpg)
DescriptionAsarewardforrecordmilkproduction,FarmerJohnhasdecidedtostartpayingBessiethecowasmallweeklyallowance.FJhasasetofcoinsinN(1<=N<=20)differentdenominations,whereeachdenominationofcoinevenlydividesthenext-largerdenomination(e.g.,1centcoins,5centcoins,10centcoins,and50centcoins).Usingthegivensetofcoins,hewouldliketopayBessieatleastsomegivenamountofmoneyC(1<=C<=100,000...
近期评论