很多种答案用guess and check做。三角加圆柱是一块钱,那么心形卖出的钱必须是整数,心形盒子就必须是双数,三角跟圆柱盒子的数量相同。所以很多组合都符合题目条件。
还需要考虑到有人买4毛的三角形时会给你5毛
很多人买东西是这样的,差一点就不用找了,这个在题目里应该说明:
For every single transaction Candice made, she did not collect extra money from customer and she did not give discount when customer negotiated and bought in a bulk.
For every single transaction Candice made, she did not collect extra money from customer and she did not give discount when customer negotiated and bought in a bulk.
[本文发送自华新iOS APP]