i'm doing discrete structures hw, and there are some cool puzzles on it. this is NOT one of them... there was a problem with a part A and part B. we were assigned the part A, and now i am showing you guys part B.
Four friends have been identified as suspects for an unauthorized access into a computer system. They have made statements to the investigating authorities. Alice said "Carlos did it." John said "I did not do it." Carlos said "Diana did it". Diana said "Carlos lied when he said that I did it".
If the authorities also know that exactly one is lying, who did it? Explain your reasoning.
Four friends have been identified as suspects for an unauthorized access into a computer system. They have made statements to the investigating authorities. Alice said "Carlos did it." John said "I did not do it." Carlos said "Diana did it". Diana said "Carlos lied when he said that I did it".
If the authorities also know that exactly one is lying, who did it? Explain your reasoning.