Riddle #847

cleanlogicstory

100 men are in a room, each wearing either a white or black hat. Nobody knows the color of his own hat, although everyone can see everyone else's hat. The men are not allowed to communicate with each other at all (and thus nobody will ever be able to figure out the color of his own hat). The men need to line up against the wall such that all the men with black hats are next to each other, and all the men with white hats are next to each other. How can they do this without communicating? You can assume they came up with a shared strategy before coming into the room.
The men go to stand agains the wall one at a time. If a man goes to stand against the wall and all of the men already against the wall have the same color hat, then he just goes and stands at either end of the line. However, if a man goes to stand against the wall and there are men with both black and white hats already against the wall, he goes and stands between the two men with different colored hats. This will maintain the state that the line contains men with one colored hats on one side, and men with the other colored hats on the other side, and when the last man goes and stands against the wall, we'll still have the desired outcome.
72.48 %
120 votes

Similar riddles

See also best riddles or new riddles.

cleanstoryclever

In classic mythology, there is the story of the Sphinx, a monster with the body of a lion and the upper part of a woman. The Sphinx lay crouched on the top of a rock along the highroad to the city of Thebes, and stopped all travellers passing by, proposing to them a riddle. Those who failed to answer the riddle correctly were killed. This is the riddle the Sphinx asked the travellers: "What animal walks on four legs in the morning, two legs during the day, and three legs in the evening?"
This is part of the story of Oedipus, who replied to the Sphinx, "Man, who in childhood creeps on hands and knees, in manhood walks erect, and in old age with the aid of a staff." Morning, day and night are representative of the stages of life. The Sphinx was so mortified at the solving of her riddle that she cast herself down from the rock and perished.
76.96 %
1170 votes
logicclean

This is an unusual paragraph. I’m curious as to just how quickly you can find out what is so unusual about it. It looks so ordinary and plain that you would think nothing was wrong with it. In fact, nothing is wrong with it! It is highly unusual though. Study it and think about it, but you still may not find anything odd. But if you work at it a bit, you might find out. Try to do so without any coaching.
The letter "e", which is the most common letter in the English language, does not appear once in the long paragraph.
76.56 %
142 votes
cleanlogicwhat am I

What word in the English language does the following: the first two letters signify a male, the first three letters signify a female, the first four letters signify a great man, the first six letters signify a drug, while the entire world signifies a great woman. What is the word?
Heroine
75.89 %
152 votes