The hardest puzzle question in the world

March 17, 2009
By SeanJA

A hundred prisoners are each locked in a room with three pirates, one of whom will walk the plank in the morning. Each prisoner has 10 bottles of wine, one of which has been poisoned; and each pirate has 12 coins, one of which is counterfeit and weighs either more or less than a genuine coin. In the room is a single switch, which the prisoner may either leave as it is, or flip. Before being led into the rooms, the prisoners are all made to wear either a red hat or a blue hat; they can see all the other prisoners’ hats, but not their own. Meanwhile, a six-digit prime number of monkeys multiply until their digits reverse, then all have to get across a river using a canoe that can hold at most two monkeys at a time. But half the monkeys always lie and the other half always tell the truth. Given that the Nth prisoner knows that one of the monkeys doesn’t know that a pirate doesn’t know the product of two numbers between 1 and 100 without knowing that the N+1th prisoner has flipped the switch in his room or not after having determined which bottle of wine was poisoned and what color his hat is, what is the solution to this puzzle?

Source: http://www.codinghorror.com/blog/archives/001243.html

Share and Enjoy:
  • Twitter
  • DZone
  • del.icio.us
  • Slashdot
  • Digg
  • Reddit
  • HackerNews
  • Technorati
  • Google Bookmarks
  • RSS
  • StumbleUpon
  • Yahoo! Buzz
  • LinkedIn
  • Facebook
  • Print
  • PDF
  • email

Related posts:

  1. Code Golf – Home On The Range

Tags: ,

4 Responses to The hardest puzzle question in the world

  1. Gracie on April 14, 2009 at 9:43 pm

    omg, i have no idea. black hat idea was pretty darn good though.

  2. taelor on March 23, 2009 at 10:16 am

    I really did just typo “genius”

    • SeanJA on March 30, 2009 at 11:31 am

      Nonetheless, it was a good answer, and maybe even a solution… (at least a partial one anyway)

  3. taelor on March 23, 2009 at 10:16 am

    The hat was a pirate hat and they only come in black.

    Black is the absence of colour! Har har I’m a genuis.

Leave a Reply

Your email address will not be published. Required fields are marked *

*