In the land of Symutra, there was a murder last night. Witnesses saw one person shooting the guy, but no one could see him well enough to identify him. In addition, Alice, Bob, Cindy, Derek, and Evelyn were all seen near the place of the murder shortly after and before the murder. The police brought them in for questioning and they all gave one sentence.
Alice: I didn't do it if and only if Derek didn't do it.
Bob: Alice did do it if I didn't do it.
Cindy: If I did it and Alice didn't do it, Derek didn't do it.
Derek: I didn't do it or Bob did do it, or Cindy did it.
Evelyn: I did it.
It is known for a fact that ONLY one of them did do it. If only one person told the truth, who did it? And who told the truth?
(In reply to re: Methodically
by Saka Devi)
If D did it, then;
A lied because he didn't do it, even though D did it
B lied because he didn't do it, but A didn't either
C told a truth, because the antecedent (if ...) is false, thus making his sentence true.
D clearly lied (he did it, but B and C didn't)
E also clearly lied.
If D did it, C is the only truth-teller.