Saturday, July 7, 2007

Contaminated Pill problem

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?

3 comments:

Hari said...

Take one pill from jar 1.. two from jar 2.. similiarly till 5 from jar 5.. Then.. Weigh the pills together.. If the reading of the weighing machine ends in 9 then the contaminated pill is from jar 1.. If it ends in 8 then.. it is from jar 2.. If 7 then jar 3.. If 6 then jar 4.. and if 5 then jar 5..

Rakesh B.S said...

yups tats correct.. :)

anzal said...

I also got it .. anyway good work hari