I claim nothing is more boring than blogging about blogging, except maybe blogging about not blogging, but I must tell you I have gone codin' - head down and trying to deliver something on negative time. Please stay tuned and our regularly scheduled programming will return shortly.
To tide you over, here's a spiffy puzzle from my friend Nick:
You are one of 20 prisoners on death row. Your king is a ruthless man who likes to toy with his people's miseries. He comes to your cell and tells you:
"I'm going to give you prisoners a chance to go free tomorrow. You will all stand in a row and we will put a hat on your head, either a red or a black one. Of course you will not be able to see the color of your own hat; you will only be able to see the prisoners in front of you with their hats on; you will not be allowed to look back or communicate in any way. The prisoner in the back will be able to see the 19 prisoners in front of him. The one in front of him will be able to see 18, and so on. Starting with the last prisoner, the one who can see everybody in front of him, he will be asked a simple question: WHAT IS THE COLOR OF YOUR HAT? He will be only allowed to answer BLACK or RED. If he guesses the right color of the hat on his head he will be set free, otherwise he will be put to death. And we move on to the one in front of him and ask him the same question and so on... Well, good luck tomorrow, HA HA HA HA HA HA!"
You all can communicate freely during the night, can you find a way to guarantee the freedom of some prisoners tomorrow? How many?
Enjoy :)
[Update: the answer has been posted... ]
|