in reply to Re: Re: "Countdown" (golf)
in thread "Countdown" (golf)

dragonchild
your solution has the same problems as gbarr It only prints out the first of the longest words.

Stuffy
That's my story, and I'm sticking to it, unless I'm wrong in which case I will probably change it ;~)
may be reproduced under the SDL

Replies are listed 'Best First'.
Re4: "Countdown" (golf)
by blakem (Monsignor) on Dec 01, 2001 at 08:38 UTC
    I think you might want to recheck your tests... perhaps with your test there *is* only one longest word.

    For the list qw(a r t) both dragonchilds and gbarrs solutions produce 'art', 'tar', and 'rat' for me.

    -Blake