Re: Two new golfs are available

[email protected] (Julien Quint)
Newsgroups perl.golf
Message-ID <[email protected]>
On Tue, Sep 17, 2002 at 11:21:29AM -0000, Mtv Europe wrote:
> Hello All!
> 
> Two new minigolfs are available at http://terje.dev.webon.net/golf/
> 
> Easy one ("Ordered fractions") will be finished on 2002-09-19 10:00:00 UTC
> and hard one ("Forth") on 2002-09-24 10:00:00 UTC.
> 
> Players are welcomed to post they scores into automatic leaderboard system.
> 
> Route your questions to Terje Kristensen, or me, or at #perlgolf on
> ircnet (http://www.ircnet.net/).

I think the test-set for the Forth hole has some holes in it. I'd propose the
following test:

:  foo  1 . ;
:  bar  2 . ;
:  foobar 3 5 4 swap . ;
foobar

which should output 5. This caught a few mistakes in my code that the testset
did not cover; also, it makes my 148 solution a 154 unfortunately...

pom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.