Sujet : Prolog Easter Challenge 2024 De : janburse (at) *nospam* fastmail.fm (Mild Shock) Groupes :comp.lang.prolog Date : 27. Mar 2024, 17:43:32 Autres entêtes Message-ID :<uu1er3$1sskl$1@solani.org> User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1
Hey Folks, Miss already that AoC 2023 is over. Some holidays ahead with nothing to do. Don't worry. Why not try this one in Prolog: "A man has 10 nickels amomng which there is a single counterfeit coin, which is either heavier or lighter than the other ons. How can one tell in weightings whether there is a counterfeit nickel, and if so which one it is?" Any Prolog solutions? What about CLP(FD) or CLP(B) solutions? Have Fun!