Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.prolog Subject: Prolog Easter Challenge 2024 Date: Wed, 27 Mar 2024 16:43:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 27 Mar 2024 15:43:31 -0000 (UTC) Injection-Info: solani.org; logging-data="1995413"; mail-complaints-to="abuse@news.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 Cancel-Lock: sha1:I60bbnTh5saaqST69wBXvNrqhnk= X-Mozilla-News-Host: news://news.solani.org:119 X-User-ID: eJwNydEBRDEEBMCWTqwl5RD0X8K7+R1TCp+DRtjayu+2+hwOuqS9ENG7JicA2Mu+1Axozk49/qOPvqw2v8P8AFVZFfg= Bytes: 1370 Lines: 15 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!