Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!fas-news.harvard.edu!newspump.wustl.edu!news.starnet.net!wupost!howland.reston.ans.net!EU.net!sun4nl!freya.let.rug.nl!pc4305e.let.rug.nl!s0508438
From: s0508438@let.rug.nl (G. Huisman)
Subject: Problem??
Sender: news@let.rug.nl (News system at let.rug.nl)
Message-ID: <s0508438.3.2F28C224@let.rug.nl>
Date: Fri, 27 Jan 1995 15:51:31 GMT
Lines: 13
Nntp-Posting-Host: pc4305e.let.rug.nl
Organization: Faculteit der Letteren, Rijksuniversiteit Groningen, NL

-----------------------------------------------------------------------
The Water Jug Problem
You have two water jugs of different size: X and Y. The water jugs can
be filled with water. The jugs do not have any markers so they can
only be filled completely or emptied completely. You have an infinite
source of water. The problem is to get a certain amount Z of water in
the X water jug by filling the jugs, emptying them or pouring water
from one jug into another.
-----------------------------------------------------------------------
Can anyone give us a hint? Cause our teacher didn't show up this morning.


The Newbies.
