作业帮 > 英语 > 作业

英语翻译Lindsay is a shopaholic.Whenever there is a discount of

来源:学生作业帮 编辑:百度作业网作业帮 分类:英语作业 时间:2024/04/27 23:45:11
英语翻译
Lindsay is a shopaholic.Whenever there is a discount of the kind where you can buy three items and only pay for two,she goes completely mad and feels a need to buy all items in the store.You have given up on curing her for this disease,but try to limit its effect on her wallet.
You have realized that the stores coming with these offers are quite selective when it comes to which items you get for free; it is always the cheapest ones.As an example,when your friend comes to the counter with seven items,costing 400,350,300,250,200,150,and 100 dollars,she will have to pay 1500 dollars.In this case she got a discount of 250 dollars.You realize that if she goes to the counter three times,she might get a bigger discount.E.g.if she goes with the items that costs 400,300 and 250,she will get a discount of 250 the first round.The next round she brings the item that costs 150 giving no extra discount,but the third round she takes the last items that costs 350,200 and 100 giving a discount of an additional 100 dollars,adding up to a total discount of 350.
Your job is to find the maximum discount Lindsay can get.
英语翻译Lindsay is a shopaholic.Whenever there is a discount of
林赛是个购物狂.无论何时有那种折扣,你可以买三样东西但只付两样东西的钱,她就完全疯狂了,感觉需要把这家店里的所有东西买下来!你就放弃改掉她的这种毛病,还是试着控制这种习惯对她的钱包带来的影响吧!
你应该意识到过,那些商店提供的这些物品都是精心挑选好的,以供你可以免费拿到它们.那些都是最便宜的东西.比如说,当你的朋友拿了7样东西来到柜台包括400,350,250,200,150,和100美元的,她就需付1500美元.这样她就得到250的减价.你知道如果她去3次柜台,她将得到更多的减价.就是说,如果她拿着400,300,和250美元的东西,第一次她将得到250美元的减价.第二次她买150美元的东西,没有减价,但是第三次她买剩下的东西分别是350,200,和100美元又获得100美元的额外减价,加起来一共减了350美元.
你的工作是找到林赛能得到的最多减价是多少.