-2

We have 10 identical bottles of identical pills (each bottle contain hundred of pills). Out of 10 bottles 9 have 1 gram of pills but 1 bottle has pills of weight of 1.1 gram. Given a measurement scale, how would you find the heavy bottle? You can use the scale only once.

Credit: http://www.crazyforcode.com
Licence: https://creativecommons.org/licenses/by-nc-nd/2.5/in/

Arun Karnawat
  • 373
  • 1
  • 4
  • 15

2 Answers2

3

Add one pill from the first bottle, two from the second, etc.
The decimal digit is the bottle number of the fake pill (with 0 being the 10th bottle)

Lolgast
  • 3,845
  • 16
  • 39
Fifth_H0r5eman
  • 2,631
  • 13
  • 20
  • @Lolgast, Thanks, spoiler tags seem temperamental on my phone I'm afraid. – Fifth_H0r5eman Feb 05 '18 at 15:03
  • 1
    No problem, quite a few people have problems with them :P The trick is that you can only have consecutive lines starting with >! and a blank line if there is any text following the spoiler. You can add double spaces to the end of your line to create a line break. – Lolgast Feb 05 '18 at 15:07
  • Or a HTML line break
    without needing to type even a return.
    – Mr Lister Feb 05 '18 at 16:04
0

When adding the bottles to the scale make sure to switch the side you put them on with every bottle. Once one side is tipping down you have your bottle. It's the last one added.

That is if adding them individually counts as only using the scale once.

Morfium
  • 161
  • 4
  • Assuming our scale was a balance then if you are noting its position after each time you put a bottle on then I would say that is more than one weighing. Additionally after you put one bottle on that side has tipped down which would mean by your wording that the first one (which is the last one added when one side goes down) is the heavy one which is not the case. Also I think when the OP said a measurement scale they meant something that would give a weight for the items placed on it and not a balance which allows you to compare relative weight of two things. – Chris Feb 05 '18 at 16:06
  • 1
    Yeah it kinda felt too easy. Obviously I meant every other bottle. ;) But you are right. I didn't know the difference in scale and measurement scale, thanks for pointing that out. The other answer is more elegant anyway and definately needs only one time weighting, so I guess it's correct. :) – Morfium Feb 05 '18 at 16:16