wu :: forums
« wu :: forums - Hard- Fork problem »

Welcome, Guest. Please Login or Register.
Apr 25th, 2024, 4:41pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   hard
(Moderators: SMQ, Eigenray, towr, Grimbal, Icarus, ThudnBlunder, william wu)
   Hard- Fork problem
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Hard- Fork problem  (Read 2500 times)
Cze-Jwin
Guest

Email

Hard- Fork problem  
« on: Jul 24th, 2002, 2:55am »
Quote Quote Modify Modify Remove Remove

the question to ask is..
 
what would your brother say is the correct path?
 
path a = wrong path
path b = correct path
brother 1 = always truth
brother 2 = always lies
 
if you asked brother 1, the answer would be path b
 
if you asked brother 2. the answer would also be path b
because brother 1 will say that path a is the correct one, to lie he has to say taht brother 1 will say path b
IP Logged
knox
Guest

Email

Re: Hard- Fork problem  
« Reply #1 on: Jul 25th, 2002, 5:26am »
Quote Quote Modify Modify Remove Remove

Cze-Jwin I think the question is correct, but you headed in the wrong direction.
 
brother 1 (nice) knows his brother lies and will tell you the wrong path.
brother 2  (mean) knows his brother would give you the right way, to lie he will tell you the wrong path.
 
So the answer you get from both is the _wrong_ path.
Have fun at the cannibals.  Cheesy
IP Logged
Matt S
Guest

Email

Re: Hard- Fork problem  
« Reply #2 on: Jul 25th, 2002, 10:52am »
Quote Quote Modify Modify Remove Remove

knox has it correct. Actually, CZE-Jwin had the the right question to ask, but his analysis was incorrect.  
 
The solution: Ask the question -- "What would your brother say is the correct path?"
 
THEN take the OPPOSITE of whatever he says, since the answer given will be the path to the cannibals.  
 
 
 
IP Logged
drdedos
Guest

Email

Re: Hard- Fork problem  
« Reply #3 on: Jul 25th, 2002, 4:07pm »
Quote Quote Modify Modify Remove Remove

Another question that would work is if i pointed to a path and asked,
"If i asked you if that was the correct path, would you say yes?"
 
If the path I pointed to was the correct path,
- the truth-sayer would say "yes"
- the liar would lie and say "yes," since if i did ask him if it was the correct path, he would lie and say "no."
 
If the path I pointed to was the wrong path,
- the truth-sayer would say "no"
- the liar would lie and say "no," since if i did ask him if it was the correct path he would lie and say "yes."
 
Either way, you would know if the path you pointed to was correct or not, and can proceed as you wish.
IP Logged
Cze-Jwin
Guest

Email

Re: Hard- Fork problem  
« Reply #4 on: Jul 25th, 2002, 5:42pm »
Quote Quote Modify Modify Remove Remove

hahah so i fergot to mention that you need to take the opposite path...
IP Logged
greg
Guest

Email

Re: Hard- Fork problem  
« Reply #5 on: Jul 25th, 2002, 7:20pm »
Quote Quote Modify Modify Remove Remove

Why not ask him how many fingers your holding up, or what color the sky is?
IP Logged
greg
Guest

Email

Re: Hard- Fork problem  
« Reply #6 on: Jul 25th, 2002, 7:26pm »
Quote Quote Modify Modify Remove Remove

or ask one of them if he has a brother.
IP Logged
DocBot
Newbie
*





   
Email

Gender: male
Posts: 2
Re: Hard- Fork problem  
« Reply #7 on: Jul 26th, 2002, 8:52am »
Quote Quote Modify Modify

...well, that wouldn't really help you choose a path, now would it?  Wink
IP Logged
neo
Guest

Email

Re: Hard- Fork problem  
« Reply #8 on: Jul 26th, 2002, 10:57am »
Quote Quote Modify Modify Remove Remove

Ask any of them ;
"which path goes to your hometown?"  
 
that's all Smiley)
IP Logged
Gamer555
Newbie
*





   


Posts: 19
Re: Hard- Fork problem  
« Reply #9 on: Jul 30th, 2002, 9:40am »
Quote Quote Modify Modify

Good job neo, that is another good solution.
IP Logged
Peter
Newbie
*





   


Gender: male
Posts: 3
Re: Hard- Fork problem  
« Reply #10 on: Jul 30th, 2002, 3:09pm »
Quote Quote Modify Modify

I can't see that neo's answer helps despite Gamer555's plaudits.  
 
I've seen Cze-Jwin's answer before (many years ago, regretably) where you ensure you get a lie and act in that knowledge but I really like drdedos' answer where you force the liar to tell the truth ... well almost!
 
The real purpose of this note is to ask "what is the difference between fork problem #1 and fork problem #2?", have all angles been covered in the discussion above or is there, as is implied in the questions, a simpler answer to number 1?
IP Logged
smst
Newbie
*





   


Posts: 2
Re: Hard- Fork problem  
« Reply #11 on: Aug 2nd, 2002, 1:08am »
Quote Quote Modify Modify

on Jul 30th, 2002, 3:09pm, Peter wrote:
I can't see that neo's answer helps despite Gamer555's plaudits.  
 
I've seen Cze-Jwin's answer before (many years ago, regretably) where you ensure you get a lie and act in that knowledge but I really like drdedos' answer where you force the liar to tell the truth ... well almost!
 
The real purpose of this note is to ask "what is the difference between fork problem #1 and fork problem #2?", have all angles been covered in the discussion above or is there, as is implied in the questions, a simpler answer to number 1?
There is a difference, and that difference is such that neo's answer will work for the first question (hence Gamer555's response).  The crucial difference is that in the first problem, you know that the liar comes from the village of cannibals and that the truth-teller comes from the village of safety. Hence asking either one the direction to their own village will give you the necessary information:
  • The truth-teller will point you at his own village (which is where you want to go).
  • The liar will not point to his own village, but will lie and point to the village of safety.
Either way, they point at the correct path.
 
In the second problem the information linking individuals to villages is not given -- this lack of information makes the  problem harder (as you rightly point out, neo's solution won't work in this case). I suspect that, even if we knew from which village the twins came, the problem would still require the indirect-question answer given above, since the simple "where are you from?" will yield different answers (because the truth in each case is the same village, so each twin will point to a different one).
IP Logged
Darkstar
Guest

Email

Re: Hard- Fork problem  
« Reply #12 on: Aug 26th, 2002, 4:35pm »
Quote Quote Modify Modify Remove Remove

Hehe...
anyone seen "Into the Labyrinth"? The movie with David Bowie and Jennifer Connelly? That's where I knew the answer from Smiley
 
--Darkstar
IP Logged
James Fingas
Uberpuzzler
*****





   
Email

Gender: male
Posts: 949
Re: Hard- Fork problem  
« Reply #13 on: Aug 29th, 2002, 6:43am »
Quote Quote Modify Modify

"Where are you from?"
IP Logged

Doc, I'm addicted to advice! What should I do?
arvind mayank
Guest

Email

Re: Hard- Fork problem  
« Reply #14 on: Oct 13th, 2002, 2:13pm »
Quote Quote Modify Modify Remove Remove

Winkwhat if there is only one brother (one person) and dont know that whether he always tells truth or lies.now whats the single question u gonna ask that person to know the correct path.
 
reply soon Wink
IP Logged
arvind mayank
Guest

Email

Re: Hard- Fork problem  
« Reply #15 on: Oct 13th, 2002, 2:15pm »
Quote Quote Modify Modify Remove Remove

Winkwhat if there is only one brother (one person) and u dont know that whether he always tells truth or lies.now whats the single question u gonna ask that person to know the correct path.
 
reply soon Wink
IP Logged
TimMann
Senior Riddler
****






   
WWW

Gender: male
Posts: 330
Re: Hard- Fork problem  
« Reply #16 on: Oct 13th, 2002, 6:24pm »
Quote Quote Modify Modify

on Oct 13th, 2002, 2:15pm, arvind mayank wrote:
Winkwhat if there is only one brother (one person) and u dont know that whether he always tells truth or lies.now whats the single question u gonna ask that person to know the correct path.
 
reply soon Wink

 
dredos replied to that one before you asked it. See reply #3 above. How's that for "soon"?  Cool
IP Logged

http://tim-mann.org/
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board