Nikola Ratinac must be new here...
No ratings yet!
Black and White Hats
Since it doesn't say that the prisoners can't move, here's the design. It is pretty easy for them to arrange them selves in the next way: w, w, w, . . . ., w, b,. . ., b, b, b.(Google's dwarf problem) So starting from the left the guards asks, the prisoner answers the color of what he sees in front of him meanwhile every prisoner counts the number of hats and what color are they in front and memorizes the number of the hats and color behind him . 100 of them are saved !context