Saturday, October 01, 2005

Jar with the heaviest pill

You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?

1 Comments:

At 6:28 PM, Blogger Foobar said...

Place 10,9,8,7,6 pills of each container on the scale. If all were 10gm, the total should be

10*10 =100
10*9 = 90
10*8 = 80
10*7 = 70
10*6 = 60
------
400
------

If Jar B was bad, then its total wud be 81.
Similarly,

C 72
D 63
E 54

So depending on the total's last digit, you can make out the bad jar.

 

Post a Comment

<< Home