A truth-teller who always speaks truth, a liar who always lies, and a spy who can do either, are captured and questioned. The official wants to figure out which one is the spy.
The statements made are as follows.
Person A: "I am the spy."
Person B: "That is true."
Person C: "I am not the spy."
Which one is the spy?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If person A were the spy, all 3 people would be telling the truth, which is impossible since one liar is included in the group.
If person C were the spy, all 3 people would be lying, which is impossible since one truth-teller is included in the group.
So person A is the liar, person B is the spy (who is lying), and person C is the truth-teller.