[日記] 演算法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