Results 1 to 6 of 6

Thread: hmm...more tricky word probs...

  1. #1

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220

    hmm...more tricky word probs...

    Four suspects of a crime made the following statements to the police:

    Andy: Carl did it
    Bob: I did not do it.
    Carl: Dave did it.
    Dave: Carl lied when he said I did it.

    Given that exactly one of them "did it" and that exactly one told the truth. Who did it?
    - you've been privileged to read a post by Miz

  2. #2
    Fanatic Member WorkHorse's Avatar
    Join Date
    Jul 2002
    Location
    Where you live.
    Posts
    591
    If Bob told the truth, that means he did it. Therefore, Dave would have also told the truth about Carl lying that he did it. We can have two truth speakers. Therefore, Bob lied--and he did it. Dave told the truth.

    Another way: If Dave had lied, both Bob and Carl were telling the truth, so Dave could not have lied. Because Dave told the truth Bob must have lied--and did it.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    also Andy could have done it, Dave speaking the truth
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4
    Member
    Join Date
    Dec 2003
    Location
    USA
    Posts
    42
    In short Bob did it & the 4th person in list told the truth.

    Thread resolved!!!

  5. #5
    Fanatic Member WorkHorse's Avatar
    Join Date
    Jul 2002
    Location
    Where you live.
    Posts
    591
    Originally posted by kedaman
    also Andy could have done it, Dave speaking the truth
    Then both Dave and Bob told the truth. Not allowed. See my post: If Dave told the truth, then Bob must have lied--and did it. (My first way is a bit jumbled, just look at the "another way:" bit).
    Last edited by WorkHorse; Jan 16th, 2004 at 09:36 PM.

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    you're right, didn't think straight there..
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width