Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Cookies in boxes - algorithmic challenge Date: Sat, 04 Apr 2026 17:08:34 -0700 Organization: A noiseless patient Spider Lines: 19 Message-ID: <86wlymz2t9.fsf@linuxsc.com> References: <20260401163447.000052de@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 05 Apr 2026 00:08:36 +0000 (UTC) Injection-Info: dont-email.me; posting-host="5c4a1afa8a79496aa6f19896c0e75a8a"; logging-data="1131996"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6fJwY4+pkVYhfrDlIkRmynYeLKTHhAH0=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Y/jb3RwTskhG2kouA1v/qfUQhR4= sha1:LIM+rlzhq+iqO755FbFTmY1jeoI= Xref: csiph.com comp.lang.c:397380 Michael S writes: > My challenge is not about 'C'. 'C' is a boring language that mostly > happens to work. I see no point in challenging it. > The challenge is algorithmic. > > However I am issuing it in comp.lang.c group. Then the test bench that > I prepared is in C. [...] Thank you for that. > So, here is the challenge: I looked at the problem, and have written enough code now to satisfy myself that I know how to solve it. Not ready to post yet; among other things there are some other clc posts I've been meaning to respond to, and I really should try to do those first. I plan on not looking at anyone else's code before I have something ready to say myself.