You are at one end of a hall blindfolded. At the other end are Alex and Bert. You are allowed to ask any yes or no questions you want, but only one of them will respond. They are standing next to each other and their voices are identical, so you have no way of telling which one responded by sound alone.
Using as few questions as possible, find out the type of each Alex and Bert and who answered your last question.
(In reply to
re: number of liars and knights by Tristan)
thanks tristan
heres a solution using 3 quetion
1. what would you say if i asked if you were both the same type?
if answer is no then
2. would the othere say alex is a liar
3 would the say alex just answered
If answer to 1 is yes then
2. what would you say if i asked if you were a knight
3. what would you say if i asked if alex is answering this quesion
|
Posted by rerun141
on 2003-12-30 19:51:28 |