Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

_wannacry_'s blog

By _wannacry_, history, 2 months ago, In English
You have 5 jars of pills. Each pill weighs 10 grams, except for contaminated pills contained in one jar, where each pill weighs 9 grams. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?
  • Vote: I like it
  • -3
  • Vote: I do not like it

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I will put all the 5 jars on top of the measurement scale and the scale would definitely read as 49 Grams(1 contaminated pill=9 gram + 4 real pill = 4*10). Then, I will remove one jars at a time from the scale, if the pill is real the measured value would reduce by 10 and if the measured value reduced by 9, then we will get that this is the contaminated jar that we r looking for. In the worst case, we would need to remove one jar from the scale 4 times.

  • »
    »
    2 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    You can weight the pills only one time , like if u put some pills from every jar thats it then u cant remove and see

»
2 months ago, # |
Rev. 2   Vote: I like it +20 Vote: I do not like it

Spoiler Alert!

Spoiler