[Shootout-list] sumcol - when the correct answer is wrong :-)
Isaac Gouy
igouy2@yahoo.com
Mon, 20 Sep 2004 12:49:36 -0700 (PDT)
This is the sort of thing that Smalltalk advocates love!
The Smalltalk sumcol program is listed as failing.
100 copies of the input-file should sum to 50050000.
So 8000 should sum to 4004000000.
That's actually the answer given by GNU Smalltalk.
All the "correct" programs give the wrong answer -290967296 (because we
are running them without runtime checks, because it's quicker).
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail