Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 1. The first question you ask is:
    Which of the other two men always tells the truth?

    The person who always lies will point to the random person.

    The person who randomly lies will point to either the truth teller or the liar.

    The person who always tells the truth will answer "neither" or something indicating that they are the one who always tells the truth.

    If you got the truth teller, it is easy - you just ask which is the right road to heaven.

    If they pointed, you go to the opposite person they pointed to:
    • by gibbon rib (6975) on 2006.06.04 21:29 (#48004)
      What if you ask the man who randomly lies, and he says "Neither"?
      • I never really felt comfortable with the answer myself. The solution is obvious, find a question that will always lead you to either the truth teller or the liar. Once there, you may simply turn it into the 2 person variation.

        The trouble is finding a question that regardless of whom you ask (since you don't know). I welcome you to try to think of a better worded question but the author of the riddle (many years ago) confirmed that this was the answer.

        Cheers,
        L~R