A detective interrogates three suspects: Tom, Dick, and Harry. Exactly one of them committed the crime. Tom says: 'Dick did it.' Dick says: 'Harry did it.' Harry says: 'Tom is lying.' If only one suspect is telling the truth, who is the guilty party?
Dick
Let's check each case. If Tom is telling the truth (Dick is guilty), then Dick lied (Harry did it is false) and Harry told the truth ('Tom is lying' - wait, if Tom told the truth, Harry saying 'Tom is lying' means Harry lied. That works: Tom true, Dick false, Harry false. That's one truth-teller). If Dick is guilty: Tom lied (Dick did it), Dick lied (Harry did it), Harry told the truth (Tom is lying). That's one truth-teller. Wait, let's verify who is guilty. If Dick is guilty, Tom's statement 'Dick did it' is TRUE. Dick's statement 'Harry did it' is FALSE. Harry's statement 'Tom is lying' is FALSE (because Tom told the truth). So truth-tellers = Tom and Harry (two truth-tellers, but prompt says *only one* is telling the truth). Let's re-test Tom being guilty: Tom is guilty -> Tom lies (Dick did it is false). Dick tells the truth ('Harry did it' is false? No, Dick says Harry did it, which is false). Harry tells the truth ('Tom is lying' is true). Truth-tellers = Harry (1 truth-teller). So Tom is guilty? Wait, if Tom is guilty, Dick didn't do it, so Tom's statement is false. Dick's statement 'Harry did it' is false. Harry's statement 'Tom is lying' is true (since Tom lied). So Harry is the only one telling the truth. Thus, Tom is guilty? Wait, if Tom is guilty, Tom lied. Let's test Dick being guilty: Dick is guilty -> Tom says 'Dick did it' (TRUE). Dick says 'Harry did it' (FALSE). Harry says 'Tom is lying' (FALSE, because Tom told the truth). Here, only Tom is telling the truth! Therefore, Dick is the guilty party.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
Three boxes contain fruit. Box A has apples only. Box B has oranges only. Box C has both apples and oranges. Every box has a label, but all labels are wrong. You may draw one fruit from Box C. What can you instantly determine about the label on Box C?
You write me, sign me, and send me to someone you care about in February. What am I?
You are shown four cards laying on a table showing '3', '8', 'Red', and 'Blue'. Each card has a number on one side and a color on the other. Which card or cards MUST you flip over to test the rule: 'If a card shows an even number on one side, then its opposite side is Red'?
Three friends—Kai, Liam, and Maya—wear different colored hats: red, blue, and green. Kai does not wear red. Liam is wearing the color of the clear summer sky. Maya is not wearing green. If Maya's hat is not blue either, who wears the red hat?
An artisan carves a wooden cube measuring 3x3x3 units and paints the entire outside surface blue. She then cuts it into 27 individual 1x1x1 smaller cubes. How many of the small cubes have paint on exactly two of their faces?
Three guards stand before a fortress gate. One always tells the truth, one always lies, and one alternates between truth and lies. You can ask one yes/no question to each guard in any order. What is the minimum number of guards you must question to guarantee identifying the liar?

