On Thu, 16 May 2002, Ton Hospel wrote:
> This is in fact unexpectedly challenging. a 43 is easy. A 40 is hard.

Here's mine

$m=pop;for(1..$m-1){$n+=$m%$_?0:$_}print $n

43, if I understand the rules correctly.  (First attempt at this... been
wanting to play since I read about it on /.)

Does anyone have any hints for someone new at this?  It seems like a lot
of the golf relies on less-known side-effects.  I'm wondering if someone
has started documenting the tricks.  I'm going to need a few hints before
I'm able to read and comprehend some of the winning solutions I've seen so
far.

                                        Ryan

Reply via email to