答案不是唯一的
A-square
B-heart
C-cylinder
answer:
B=2*n (0<=n<=8)
A=C=(16-B)/2=8-n
The reason is that the average price is 8/16=0.5. price of B is 0.5 already, so we just keep it to be even number. Otherwise, the 0.4m+0.6m cannot be ended up with 0.5.
If you want to make the average price to be 0.5. You have to make A and C average to 0.5. That is, you have to prepare equal amount of both.
B-heart
C-cylinder
answer:
B=2*n (0<=n<=8)
A=C=(16-B)/2=8-n
The reason is that the average price is 8/16=0.5. price of B is 0.5 already, so we just keep it to be even number. Otherwise, the 0.4m+0.6m cannot be ended up with 0.5.
If you want to make the average price to be 0.5. You have to make A and C average to 0.5. That is, you have to prepare equal amount of both.