POV-Ray : Newsgroups : povray.off-topic : Solve this... : Re: Solve this... Server Time
11 Oct 2024 01:22:52 EDT (-0400)
  Re: Solve this...  
From: Eero Ahonen
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

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