develooper Front page | perl.golf | Postings from January 2007

Re: New Golf

Thread Previous | Thread Next
From:
Andrew Savige
Date:
January 5, 2007 03:39
Subject:
Re: New Golf
Message ID:
20070105113947.83355.qmail@web56406.mail.re3.yahoo.com
--- /-\ndrew Savige wrote:
> It seems to me that some of the solutions are not quite correct, failing the
> test case:
> 
>  MD plus I
> 
> which should produce the answer MDI.
> 
> Please correct me if I'm wrong, but it seems that the shortest solutions
> of szery, Sec and Jasper all fail this test case.
> 
> Falling back one stroke from 4e3 to 3999 remedies.

Found another. Ted Young's 107 fails this test case:

 MD minus I

which should emit:

 MCDXCIX

but Ted's entry emits:

 MMMCMXCIX

At least that's what I see.

As per szeryf, Sec and Jasper, changing 4e3 to 3999 remedies,
at the cost of a stroke.

Cheers,
/-\


Send instant messages to your online friends http://au.messenger.yahoo.com 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About