@
0 reply
0 recast
0 reaction
3LAU
@3lau
The jailer is going to ask the color of each prisoner’s hat starting from the last prisoner in queue. If a prisoner says the correct color, they are saved. What rule can the prisoners make to guarantee 99 would be saved if they are allowed to discuss a strategy before the jailer starts asking colors of their hats?
5 replies
0 recast
0 reaction
David Furlong
@df
1st person counts # of red hats, and if is even says red, otherwise black.50% survival of first person, next person counts red hats in front and if is even and prev person said red, says is black, if # red is odd & prev said red, knows is red (says so), opposite if 1st person said black.next person does same from prev
1 reply
0 recast
0 reaction
David Furlong
@df
as in 1st person to go counts the # of red hats in front
1 reply
0 recast
0 reaction