Deutsch   English   Français   Italiano  
<871q2xtl1e.fsf@gmail.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 09 Aug 2024 21:59:25 +0000
From: steve g <sgonedes1977@gmail.com>
Newsgroups: comp.lang.lisp
Subject: Re: Zebra puzzle
References: <v8s4o0$1bp29$1@dont-email.me>
Date: Fri, 09 Aug 2024 17:59:25 -0400
Message-ID: <871q2xtl1e.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:d63YdKf6t3KP1MHQTyXCQbdvHoc=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 30
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-RkIuetbIQscCgWRh90+jLznVroWAfWuU2udUlYQ7JmENA9XKHOHDLlbImBJjcRuBymc8N4F6+PGWBYn!IJ90hF8htOUWSIVCe/KiBDChUIgGuyjIaSoagcMBkbbSg+8=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 2042

"B. Pym" <Nobody447095@here-nor-there.org> writes:

> Rosetta: Zebra puzzle
>
< > There are five houses.
< > The English man lives in the red house.
< > The Swede has a dog.
< > The Dane drinks tea.
< > The green house is immediately to the left of the white house.
< > They drink coffee in the green house.
< > The man who smokes Pall Mall has birds.
< > In the yellow house they smoke Dunhill.
< > In the middle house they drink milk.
< > The Norwegian lives in the first house.
< > The man who smokes Blend lives in the house next to the house with cats.
< > In a house next to the house where they have a horse, they smoke Dunhill.
< > The man who smokes Blue Master drinks beer.
< > The German smokes Prince.
< > The Norwegian lives next to the blue house.
< > They drink water in a house next to the house where they smoke Blend. 
< > 
< > 
< > The question is, who owns the zebra? 
< > 
< > Additionally, list the solution for all the houses.
< > Optionally, show the solution is unique.
>


norvig covers this in his book; sorry for the wrong tank....