Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Dec 06, 2005
Mar 09, 2006 08:28:00
You have 4 jars of pills. Each pill is a certain weight, except for contaminated pills contained in one jar, where each pill is weight + 1. How could you tell which jar had the contaminated pills in just one measurement?
Joined: Jun 02, 2003
Mar 09, 2006 22:29:00
Do all jars contain the same numbers of pills and how much?
We may select as many as we like?
The contaminated pills are red!
Joined: Jan 09, 2006
Mar 09, 2006 23:13:00
let the weight of each uncontaminated pill be 'x'
so weight of contaminated pill is 'x+1'
there are 4 jars ( say 1, 2 ,3 and 4)
now take 1 pill from jar 1
now take 2 pills from jar 2
now take 3 pills from jar 3
now take 4 pills from jar 4
weigh them all together.
now the weight will be 10x + n
where n is the jar number which contains the contaminated pills.
let me know if I am wrong.
subject: measurment puzzle
Paradoxes and Ironies!!!!
WA #2 ..... word association
Scrabble... it only takes a minute...
solve this riddle
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013