×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sorry for my english :) There ar

Sorry for my english :) There ar

Sorry for my english :) There ar

(OP)
Sorry for my english :)

There are 2 villages.

Peoples in the village 1 always answer the truth, they can't lying.
Peoples in the village 2 always answering false stuff, they can't say something true.

You have to make a delivery to the village of the truth.

but along the way, very close to your destination across the forest, the path split in two different way.
On the ground, you can see the broken direction signs.

There's a person on his back on the grass looking at you with a smile. This person come from one village or the other village for sure. He know where is the village you looking for.

WHAT QUESTION WILL YOU ASK HIM TO GET THE RIGHT WAY TO THE VILLAGE OF THE TRUTH ?????

:)

RE: Sorry for my english :) There ar

Hidden:

If I were to ask someone else from your village which is the right direction to the village of truth, which direction would they say?

RE: Sorry for my english :) There ar

Hidden:

"Which path should I take to get to your village?" If you're talking to a liar, you will get misdirected to the village of truth. If you're talking to someone who tells the truth, you will get correct directions to the village of truth. In both cases, you get directed to the village of truth.

RE: Sorry for my english :) There ar

A variation on this puzzle: There are two people at the path junction. One always tells the truth; the other always lies. You don't know which is which. There are no villages. Instead, one path leads to danger; the other leads to safety.

You can only ask one question, and only to one of the two people.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: Sorry for my english :) There ar

Hidden:

Ask one of the people, "Which path would the other person say leads to danger?" If you're talking to the honest person, the other is the liar and would direct you to the safe path, and the honest person would tell you this. If you're talking to the liar, the other is honest and would direct you to the dangerous path. But the liar would tell you the opposite. In either case, you will get directed to the safe path.

RE: Sorry for my english :) There ar

Spoiler:

Single person case, question with pointing one of the paths:
"If I were to ask you whether this path is secure, would you point this one?"
Both should answer correctly, double negation in case of liar.

combo

RE: Sorry for my english :) There ar

It probably should be mentioned that these truth/liar puzzles can get arbitrarily complicated. The ones that are normally encountered are more on the level of brain teasers than really difficult problems. But the so-called "hardest logic puzzle ever" is a similar puzzle, but beyond my ability:

Quote:

Three gods A, B, and C are called, in no particular order, True, False, and Random. True always speaks truly, False always speaks falsely, but whether Random speaks truly or falsely is a completely random matter. Your task is to determine the identities of A, B, and C by asking three yes-no questions; each question must be put to exactly one god. The gods understand English, but will answer all questions in their own language, in which the words for yes and no are da and ja, in some order. You do not know which word means which.

The Wikipedia article on this puzzle provides a solution, but I would hate to have to try to solve it on my own.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close