POV-Ray : Newsgroups : povray.off-topic : Solve this... Server Time
11 Oct 2024 13:14:24 EDT (-0400)
  Solve this... (Message 7 to 16 of 56)  
<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Rune
Subject: Re: Solve this...
Date: 15 Jan 2008 18:09:46
Message: <478d3d3a$1@news.povray.org>
"andrel" wrote:
> there are three of them, but indeed shooting them all seems to solve the 
> problem.

No, their function is not to stop you from entering the passages. They will 
let you through all right. The problem is that once you've entered a 
passage, there is no way back (for some reason) so you have to choose the 
right one the first time. The function of the guards is to give you 
information which you may use to figure out which passage to choose.

Oh, and if you're not familiar with the original riddle:

There are two passages of which you must choose one. One of them leads to 
freedom, the other one to doom. Once you have chosen one, you are stuck with 
it. In front of each passage is a guards. One guard always tell the truth 
and one always lies. You don't know which does what. Now you must find out 
which passage to choose by asking the guards questions...

Rune
-- 
http://runevision.com


Post a reply to this message

From: Eero Ahonen
Subject: Re: Solve this...
Date: 16 Jan 2008 00:07:10
Message: <478d90fe$1@news.povray.org>
Rune wrote:
> 
> There are two passages of which you must choose one. One of them leads to 
> freedom, the other one to doom. Once you have chosen one, you are stuck with 
> it. In front of each passage is a guards. One guard always tell the truth 
> and one always lies. You don't know which does what. Now you must find out 
> which passage to choose by asking the guards questions...

Solving which one is which is actually easy. You just need to ask one of
them, if he lies precisely to half of the questions. If he speaks true,
he'll of course answer "no". If he always lies, he has to answer "yes".

> Rune


-- 
Eero "Aero" Ahonen
   http://www.zbxt.net
      aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Darren New
Subject: Re: Solve this...
Date: 16 Jan 2008 01:33:18
Message: <478da52e$1@news.povray.org>
Invisible wrote:
> http://www.xkcd.com/246/

I saw a great solution where the wizard started explaining to everyone 
how the logic works and the warrior just shot one of them in the foot.

Left:  "Ow! You shot me in the foot!"
Right:  "No he didn't!"
Left: "I can't believe you just did that!"
Right: "Yes you can!"

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

From: Darren New
Subject: Re: Solve this...
Date: 16 Jan 2008 01:35:48
Message: <478da5c4$1@news.povray.org>
Eero Ahonen wrote:
> Rune wrote:
>> There are two passages of which you must choose one. One of them leads to 
>> freedom, the other one to doom. Once you have chosen one, you are stuck with 
>> it. In front of each passage is a guards. One guard always tell the truth 
>> and one always lies. You don't know which does what. Now you must find out 
>> which passage to choose by asking the guards questions...
> 
> Solving which one is which is actually easy. 

The actual puzzle is that you only get to ask one question.

I've also seen it done with three creatures, one who tells the truth, 
one who lies, and one who picks at random. Except they don't speak your 
language: they speak a language where Jay and Dook mean yes and no, or 
maybe no and yes.

The solution is along the lines of "Would the second person answer Dook 
to the question of what the third person would answer if and only if the 
work Jay means "yes" in my language?"  Really convoluted, but it works out.

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

From: Warp
Subject: Re: Solve this...
Date: 16 Jan 2008 03:11:40
Message: <478dbc3c@news.povray.org>
Rune <aut### [at] runevisioncom> wrote:
> There are two passages of which you must choose one. One of them leads to 
> freedom, the other one to doom. Once you have chosen one, you are stuck with 
> it. In front of each passage is a guards. One guard always tell the truth 
> and one always lies. You don't know which does what. Now you must find out 
> which passage to choose by asking the guards questions...

  The vast majority of people pose the problem like that, and they all get
it wrong. That's because that is not limiting the number of questions you
can ask, in which case the problem makes no sense as it becomes trivial.

  In the real problem you can only ask one question, period.

  (Curiously, that also means that having two guards is redundant. One
guard is enough.)

-- 
                                                          - Warp


Post a reply to this message

From: Rune
Subject: Re: Solve this...
Date: 16 Jan 2008 07:36:05
Message: <478dfa35$1@news.povray.org>
"Warp" wrote:
>  The vast majority of people pose the problem like that, and they all get
> it wrong. That's because that is not limiting the number of questions you
> can ask, in which case the problem makes no sense as it becomes trivial.
>
>  In the real problem you can only ask one question, period.

Yes I see that now.

>  (Curiously, that also means that having two guards is redundant. One
> guard is enough.)

Sure, but having two makes the question trickier for ones who are unfamiliar 
with the riddle, because it makes it seem like there are more factors 
involved.

Rune
-- 
http://runevision.com


Post a reply to this message

From: Warp
Subject: Re: Solve this...
Date: 16 Jan 2008 08:01:23
Message: <478e0023@news.povray.org>
Rune <aut### [at] runevisioncom> wrote:
> >  (Curiously, that also means that having two guards is redundant. One
> > guard is enough.)

> Sure, but having two makes the question trickier for ones who are unfamiliar 
> with the riddle, because it makes it seem like there are more factors 
> involved.

  I wonder if it could work with more doors than two (ie. still having
one guard and one question, or if it's impossible, perhaps two questions).

-- 
                                                          - Warp


Post a reply to this message

From: andrel
Subject: Re: Solve this...
Date: 16 Jan 2008 17:28:18
Message: <478E850F.7050407@hotmail.com>
Darren New wrote:
> Eero Ahonen wrote:
>> Rune wrote:
>>> There are two passages of which you must choose one. One of them 
>>> leads to freedom, the other one to doom. Once you have chosen one, 
>>> you are stuck with it. In front of each passage is a guards. One 
>>> guard always tell the truth and one always lies. You don't know which 
>>> does what. Now you must find out which passage to choose by asking 
>>> the guards questions...
>>
>> Solving which one is which is actually easy. 
> 
> The actual puzzle is that you only get to ask one question.
> 
> I've also seen it done with three creatures, one who tells the truth, 
> one who lies, and one who picks at random. Except they don't speak your 
> language: they speak a language where Jay and Dook mean yes and no, or 
> maybe no and yes.
> 
> The solution is along the lines of "Would the second person answer Dook 
> to the question of what the third person would answer if and only if the 
> work Jay means "yes" in my language?"  Really convoluted, but it works out.
> 
And in the puzzle stated in the top post, you'd have a change of 1/3 of 
being stabbed.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Solve this...
Date: 29 Jan 2008 15:21:33
Message: <479f8acd@news.povray.org>

> The solution is along the lines of "Would the second person answer Dook 
> to the question of what the third person would answer if and only if the 
> work Jay means "yes" in my language?"  Really convoluted, but it works out.
> 

My head asplode.


Post a reply to this message

From: Jim Henderson
Subject: Re: Solve this...
Date: 29 Jan 2008 16:54:52
Message: <479fa0ac@news.povray.org>
On Wed, 16 Jan 2008 03:11:40 -0500, Warp wrote:

>   (Curiously, that also means that having two guards is redundant. One
> guard is enough.)

Not the way I've heard the question asked, which is:

"Which door would the other guard say is the safe door?"

Either way, the door indicated is not the safe door.

I guess with a single guard, you could ask the question:

"If you were to lie to me, which door would be the safe door?"

So I guess it would work after all. <g>

Jim


Post a reply to this message

<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.