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 donnmike)
Your right of course
the first time i tried your solution I forgot to change answers for the different 1liar/1 knight sittuation.
good job.
|
Posted by rerun141
on 2003-12-31 14:51:16 |