Are there 18 or 20 trees?

Are there 18 or 20 trees?

If Alice saw 19 or 20 trees, then Alice could conclude there are 20 trees. But Alice only sees 12, so Alice passes. This signals to Bob that Alice sees at most 18 trees. If Bob saw 0 or 1 trees, combined with the fact Alice sees at most 18 trees, he could conclude there would have to be 18 trees.

Who will shout first?

Man 1 will shout first… Suppose if Man1 will not shout then Man 2 surely shout. Reason: Man1 can see the other two criminals hats.

What is the answer to the black and white hat riddle?

Our Solution: The man in front knew he was wearing a black hat because he knew the first man did not see two white hats and he knew that the second man did not see one white hat because if he saw a white hat, the second man would have known that his hat was black from hearing the first man’s statement.

What is the answer to the prisoner riddle?

Solution. The prisoners know that there are only two hats of each color. So if D observes that B and C have hats of the same color, D would deduce that his own hat is the opposite color. However, if B and C have hats of different colors, then D can say nothing.

How do you solve the hat riddle?

For this to happen, the first prisoner to speak will say “blue”, if the number of blue hats he sees in front of him is even, or “red” if he sees an odd number. This information, coupled with the responses other prisoners have already given and the hats in front is enough to work out what colour hat is on your head.

What is the hat riddle?

Every prisoner can see the hats of the people in front but not their own hat, or the hats worn by anyone behind. A prison guard, starts at the back of the line and asks each prisoner the colour of their hat. If they answer correctly, they will be pardoned, if they get it wrong, they’ll be executed.

What did the prisoner say to save himself?

The answer for A prisoner is told “if you tell a lie we will hang you, if you tell truth we will shoot you.” What can he say to save himself? Riddle is “You will hang me.”

How many prisoners can be saved at most if they are allowed to discuss a strategy before the jailer starts asking the colors of their hats?

99 prisoners
How many prisoners can be saved at most if they are allowed to discuss a strategy before the jailer starts asking colors of their hats. Answer: At-most 99 prisoners can be saved and the 100th prisoner has 50-50 chances of being executed. The idea is that every prisoner counts number of red hats in front of him.

What color is the hat riddle?

A guard is going to walk down the line, starting in the back, and ask each prisoner what color hat they have on. They can only answer “blue” or “red.” If they answer incorrectly, or say anything else, they will be shot dead on the spot. If they answer correctly, they will be set free.

  • July 27, 2022