Puzzle | Rat and Poisonous Milk Bottles

You have 4 bottles of milk. One of them is poisonous while the other 3 are non-poisonous. There is a rat which dies exactly after 10 hours of drinking the poisoned bottle. You have a clock that measures time only in hours. Suggest an optimal strategy to identify the poisoned bottle within 24 hours.

Solution:
At the beginning of the first hour feed the rat the Ist bottle. At the start of 2nd-hour feed, the 2nd one and
similarly at the start of 3rd-hour feed, the 3rd bottle. If the rat dies after exactly 10 hrs, the first bottle
is poisonous. If it dies after 11 hours, 2nd one contains poison else the 3rd one is poisonous. In this way,
after exactly 12 hours you would be able to determine the poisonous bottle.



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :
Practice Tags :


9


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.