Schik wrote:
Erik, Mike, and Gerry are all sitting in a room. You've never met any of them, nor do you know of any way to identify any of them using any of your senses. Erik always tells the truth. Mike always lies. Gerry always answers the XOR of what Erik and Mike would say to the same question.
Just to be clear - If Erik and Mike would answer the same, then Gerry would answer in the negative, and if Erik and Mike would answer differently, then Gerry would answer in the positive.
Okay. Back to the puzzle. These three speak a language unknown to you. You know that they have single words that mean "Yes" and "No", but you don't know what these words are.
Your task is to determine who is who by asking three questions. [...] They understand English, but will only answer in their own language. They will only answer Yes/No questions, and will respond with the single word meaning either "Yes" or "No" in their language.
It cannot be done.
Here's the proof: Since Gerry's answer always can be determined from Erik and Mike's, there are basically four kinds of questions:
1. Erik and Mike answers Yes, Gerry answers No. For example, "
Are you Erik?"
.
2. All three answer No. For example, "
Are you Mike?"
3. Mike and Gerry answers Yes, Erik answers No. For example, "
Are you Gerry?"
.
4. Erik and Gerry answers Yes, Mike answers No. For example, "
Are you either Erik or Mike?"
.
If you ask a question of type 2, you'll know what the words mean. But this gives you no information about who's who. Then, you only have two Yes/No questions left, and that isn't enough to distinguish between six possibilities.
Therefore you can't ask type 2 questions. Now, if you ask two different people two different types of questions, you learn nothing about the meaning of the words, nor do you learn enough about who the two people are. (For example, ask someone a type 1 question, then someone else a type 3 question. Whatever the answers given are, Mike may be any of the three people.)
Therefore, you'll either ask the same person twice, or the same type of question twice. If you ask the same person twice, and he gives you two different answers, you do not know what the words mean, and there's two possibilities for the identity of the person you asked, and three for both of the others. If you ask the same typ of question twice, and get two different answers, again, you do not know what the words mean, and there's two possibilities for the identity of the person you did not talk to, and three for both of the others.
Therefore, the puzzle is unsolvable.
____________________________
Today the refrigerator, tomorrow the world!