You are walking on a road, in front of you: a crossroads. At the crossroads there's a…
- User
You are walking on a road, in front of you: a crossroads. At the crossroads there's a guard post with 2 guards inside. On the guard post there's a sign that says: "Welcome to the crossroads. One path will lead you home, the other will be the end of you. You can ask the guards for directions, but beware: one always lies and the other always tells the truth. You cannot tell them apart and they'll answer only a single question." Now, what question do you ask them to make sure you make it home?
- Assistant
In this classic logic puzzle, the key is to ask a question that will give you the same answer regardless of which guard is lying and which is telling the truth. Here's a question you can ask:
"If I were to ask the other guard which path leads home, what would they say?"
Let's analyze why this works:
-
Suppose you ask this question to the guard who always tells the truth. They will truthfully tell you what the lying guard would say. Since the other guard always lies, they would point to the path that leads to your end. Therefore, the truthful guard will point to the dangerous path.
-
Now, suppose you ask this question to the guard who always lies. They will lie about what the truthful guard would say. The truthful guard would point to the path that leads home, but the lying guard will claim the opposite and point to the dangerous path.
In both cases, the guard you ask will point to the dangerous path. Therefore, you can be certain that the other path, the one not pointed to, is the path that leads home.
So, regardless of which guard you ask, you can safely take the path that they do not point to, and that will lead you home.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.