[Shootout-list] Re: OCaml k-nucleotide
Joel Hoffman
hoffmanj@pacifier.com
Wed, 30 Mar 2005 22:33:03 -0800
Daniel South wrote:
>The output shown on the website is for the failing test, that is
>N=20000.
>
>I had a similar problem, turned out I wasn't reading\counting the first
>character.
>
>Correct output for N=20000 is :-
>T 30.41
>A 30.31
>C 19.65
>G 19.63
>
>
>
Are you quite sure about this? The c#, Lua, Tcl and D programs (ie, the
successful ones) are all reporting:
T 30.41
A 30.30
C 19.65
G 19.63
When I change my Perl program to round *down* always on the 0.005
boundary, it completes the benchmark locally for 10000, 20000, and
30000. This makes no sense, but it seems to be the way things are working.
Joel