Re: Generating Puzzle Solutions



"Ovid" <publiustemp-googlegroups@xxxxxxxxx> wrote in message
news:1119626285.769792.216790@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
<snipped>

> You are presented with 12 balls identical in appearance
> but 1 of the 12 is either heavier or lighter than the
> other 11. Your task is to identify which is the odd ball
> and if it is heavy or light. You are only allowed to
> make 3 weighings using a balance.
>
> He wanted to not see just solutions, but a program that could generate
> all of the solutions. http://perlmonks.com/?node_id=469482
>
<snipped>
> Anyone care to try their hand at a Prolog solution so I can try to
> convert it to AI::Prolog?
>

You could try this: http://www.zen37763.zen.co.uk/counterfeit.html

Regards


.



Relevant Pages

  • Re: Sanding: Was Re: Space Shuttle Endeavour 3-11 Launch
    ... and an 85 lb jackhammer on the pool job. ... It will jump around if you use the lighter one, ... The heavier one tends to jump less, ...
    (misc.news.internet.discuss)
  • Re: Question on Carbon Monoxide gas
    ... > monoxide gas. ... One source says its heavier than air another says its ... > lighter, so.......is it heavier or lighter than air? ...
    (rec.crafts.metalworking)
  • Re: Question on Carbon Monoxide gas
    ... NRA Second Amendment Task Force Charter Founder ... One source says its heavier than air another says its ... lighter, so.......is it heavier or lighter than air? ...
    (rec.crafts.metalworking)
  • Re: WOW, what an adventure!
    ... >If the combined weight of the odd ones is _not_ equal to two normal ones, ... >The lighter one, A, is in h1, the heavier one, C, is in h3. ... initial situations with two weighings. ...
    (rec.puzzles)
  • Re: Coding theory puzzle
    ... If you know if the false coi8nd is lighter or heavier, ... I've solved a few of these "how to find the odd coin out in a bunch ...
    (comp.dsp)