[日记] 算法HW4的problem3 (II)

楼主: fun5566 (8卦板译人打赏箱没钱)   2018-12-25 16:38:01
算法HW4的problem3
me知道他们2人(chic...和ntu...)的96是怎么来的了,
题目不是me出的, 题目每段的最后1句不是写说:
"there is a discount if someone buys Candy
A more than an amount."
"find out a perfect candy distribution
so that he can buy as much Candy A as possible."
所以答案不是 96 , 无误吧?
(以下台x板置底闲聊区:)
→ fun5566: (今天Christmas!) https://i.imgur.com/pJj57xD.png 12/25 02:46
→ fun5566: 在Sample 2(国小题目)中, 乔老师送糖果的方法数总共有4种 12/25 02:47
→ fun5566: ,请问楼下对不对? 谢谢回答! Merry Christmas! 12/25 02:49

Links booklink

Contact Us: admin [ a t ] ucptt.com