OmniQ added a post in a topic Hats on a death row!! One of my favorites puzzles!
Thank you! I was wondering if I was the only one who thought of that.
The questions are "...find a way to guarantee the freedom of some prisoners tomorrow? How many?"
So I agree 100%, the best answer is:
Each person simply states the color of the person's hat in front of them.
If they are honest, that guarantees 19 live and the first person has a 50% chance!
Pretty good odds, but I still wouldn't want to be the first person in line, or in front of someone who had it out for me. 8^)