[E] Detective X

5 views
Skip to first unread message

bhargava

unread,
Jul 15, 2011, 6:55:30 AM7/15/11
to freak...@googlegroups.com

Detective X the Magician walks down a deserted alleyway when he comes across 4 people kneeling over a dead body. He knows that two of the suspects are knights (and always tell the truth) and two are spies (and always lie). After taking the following statements, Detective X knows which one suspect killed the dead man. Determine the profession (knight or spy) of each suspect, and find the killer.

Suspect A: "Suspect D has the same profession as me."
Suspect B: "Suspect C will say that Suspect A killed the man."
Suspect C: "Suspect A killed the man."
Suspect D: "The dead man was killed by a spy."

Suresh Kumar Maridi

unread,
Jul 15, 2011, 7:15:00 AM7/15/11
to freak...@googlegroups.com
B,D are knights,
A,C are Spies,
C killed the suspect.

B is a Knight because : he told truth .
{Suspect B: "Suspect C will say that Suspect A killed the man."
 Suspect C: "Suspect A killed the man."}

A is a Spy : From {  "Suspect D has the same profession as me." }.  Not possible to have 3 knights. So A is Lying. A is a spy & D is a Knight

C is a Spy .
Suspect D: "The dead man was killed by a spy." . I.e One of A, C.
C is a lier.  and he says "Suspect A killed the man."
--
Suresh Kumar Maridi

"it is not our abilities that show what we truly are...... it is our choices"
       - Albus DumbledorE

Reply all
Reply to author
Forward
0 new messages