Re: Zebra puzzle

Liste des GroupesRevenir à cl lisp 
Sujet : Re: Zebra puzzle
De : sgonedes1977 (at) *nospam* gmail.com (steve g)
Groupes : comp.lang.lisp
Date : 09. Aug 2024, 23:59:25
Autres entêtes
Message-ID : <871q2xtl1e.fsf@gmail.com>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13)
"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....

Date Sujet#  Auteur
6 Aug 24 * Zebra puzzle2B. Pym
9 Aug 24 `- Re: Zebra puzzle1steve g

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal