All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
The poisonous wine (Posted on 2005-02-26) Difficulty: 3 of 5
There are 1000 bottles of wine and you know that there is exactly one of them that is poisonous, and will kill the drinker in 7 days. (To be precise, it will take randomly from 7 days to 7 days 23 hr 59 min 59 sec.) Now you have 10 testers who are willing to risk their lives and test-drink those wines. What is the smallest number of days you need to figure out which bottle contains the poisonous wine? In addition, under this strategy, what is the maximum and minimum number of deaths? The extension to this problem is, how will your strategy change if you only have 9 testers?

  Submitted by Bon    
Rating: 4.0000 (7 votes)
Solution: (Hide)
Label the bottles from 0 to 999 in binary format. Since 999<2^10=1024, you only need at most 10 digits to represent each bottle. Now the i'th tester will drink out of those bottles with digit '1' at the i'th position on the label. For example, the first tester will drink from all odd numbered bottles and the last tester will drink from label 512 to 999. After 7 days, note the deaths and reconstruct the label number: put a 1 on the i'th position in binary if the i'th tester died.

This will take 8 days: 1 day to drink and 7 days waiting for the poison to take effect. Min # of deaths is 0 when the poison bottle is labeled 0; Max # of deaths is 9 because there are not bottles labeled 1023 (which corresponds to 10 digits of '1's).

When there are only 9 testers, we divide the bottles into two piles (0-511, 512-999) and do the same strategy on first pile on the first day and second pile on the second day. If someone died on day 8 you know it's from the first pile and the method to find the bottle number. Otherwise you'll know it's from the second pile and your 9 testers are still alive after day 8, so they are available in day 9 to see the effect. So it will take 9 days and max/min death=9/0

Comments: ( You must be logged in to post comments.)
  Subject Author Date
SolutionSolutionPraneeth2007-08-20 08:47:45
Impossible! Genius!Kevin2006-07-15 22:00:21
0-2 Deaths end of 9-16 daysDouglas2005-03-31 09:06:42
Well spotted NosherCheryl2005-03-03 02:39:54
Solutionre: Real SolutionNosher2005-03-03 02:15:45
possible solutionlarry2005-03-02 02:21:53
SolutionSome statisticsOld Original Oskar!2005-02-28 14:17:26
Excellent problem - excellent solutionNosher2005-02-28 03:13:12
A final extension (no spoiler)vertigo2005-02-27 16:56:03
pretty goodchris2005-02-26 20:51:38
re(2): a minor correctionvertigo2005-02-26 20:03:21
re: a minor correctionHugo2005-02-26 19:41:59
re: ouchDustin2005-02-26 19:38:00
Numbered cardsvertigo2005-02-26 19:33:31
ouchiamkobe2005-02-26 19:21:44
my solutioniamkobe2005-02-26 19:17:30
a minor correctionvertigo2005-02-26 19:15:02
re: Real Solution (continued)vertigo2005-02-26 19:11:05
re: SolutionHugo2005-02-26 18:59:35
Real Solutionvertigo2005-02-26 18:57:41
SolutionSolutionDustin2005-02-26 18:19:12
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information