Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Programming challenge
Date: Tue, 08 Dec 2020 23:52:23 -0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <86eejz5sco.fsf@linuxsc.com>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="5eb73538a536c16dceb299f9d9a18884"; logging-data="24239"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+VeMEJxMFf6W6exowRRj/JAUfgV8s9BA="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:8AsB+eXwCItxk6d5IxloOKFFS5o= sha1:Gk/Cax5JY4G+9XaxmMhc+W609IY=
Xref: csiph.com comp.lang.c:157129
Lew Pitcher writes:
> On Tue, 08 Dec 2020 00:04:56 +0100, jacobnavia wrote:
>
>> Here is my answer to the programming contest of Mr Rentsch. Sorry, it is
>> just straight C, no gotos, and fairly easy to follow. Thanks to Bart for
>> pointing me to a bug in it. Since I haven't seen any other answers I
>> suppose I win by default...
>> Sad, it was an interesting exercise.
>
> [snip]
>
> Someone should update the CLC wiki with all these solutions.
> Could they be fit under
> https://clc-wiki.net/wiki/K%26R2_solutions:Chapter_1:Exercise_23
> or maybe go into their own category.
Interesting suggestion. I will try to look at this further
in the next day or two and post some sort of update here.