Re: Two new golfs are available

[email protected] (Mtv Europe)
Newsgroups perl.golf
Message-ID <[email protected]>
Hello Julien!

[email protected] (Julien Quint) wrote:
> 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...

Don't worry, i found few bugs in my code too.  And albeit that was
different bugs, i'm at 159 now :)

So with considerable help from you and Greg Allen we expanded testsuit
to version 6 and sligtly updated the rules.

Players, please retest your solutions.

The most important clarification is concerned to strict definition of
integer /^0$|^-?[1-9]\d{0,3}$/ (note negatives are allowed) and following
by this, integrity of division results (i.e. "9 2 / ." is 4 not 4.5).

Because of the fact that on various architectures division of values
with different signs may give different results (it's not clear should
"0 9 - 2 / ." be equal to -4 or -5), such situation will never happens on
input.   This is described in new assumption #6.

---
Mtv Europe
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.