Friday, February 03, 2006

耐人寻味(四)

电池厂:

某电池厂生产干电池。工厂里面有10台包装机器。机器负责把4粒干电池包装成一包(如市面上的干电池)。为了出销活动,该公司决定把包装改为全黑,亦即如果不把包装打开就无法知道里面有几个干电池。但10台机器里面有其中一台是坏的:它包装的每一包干电池都少一粒。试问:如何利用一个重量称,只需称一次就可以知道那一台机器有问题?

注:干电池的重量全部一样,我们知道一粒干电池的重量。

1 comment:

starry_knight said...

Solution:

Label the machines with numbers, from 1 to 10. Take the number of package of battery from each machine according to their labeled number, i.e. take 1 packets of battery from machine no.1, 2 packets of battery from machine 2, so on and so forth.

When that was done, put them on the weighing machine: find the number of battery lost by subtracting the actual weight from the expected weight then divided by the weight of one battery. From the number of battery lost we can know which machine is defective.