[oclug] Programming Wars 2.0 - September 2001

Bart Trojanowski bart-oclug at jukie.net
Fri Aug 3 12:51:00 EDT 2001


* Vic Gedris <vic at worldwidepunk.com> [010803 12:04]:
> On Fri, 3 Aug 2001, Bart Trojanowski wrote:
> 
> > Good point.  Perhaps someone could write a script to take this web page
> > and convert it into the output of what we expect.  Then the diff could
> > be ran against that.
> >
> > BTW,  What is the upper bound of the numbers that the program should
> > support?  i.e. how many primes do you expect to find?
> 
> 
> That's not specified.  Ideally it would be infinite...  But I'd be more
> worried about blowing the boundaries of an int for the actual prime
> numbers (or would that take forever?  Hmmm...)

Sounds to me like I will be submitting two entries... finite and infinite.
Obviously with the overhead of 64+ bit numbers and printing them, the later
will not be a fast solution.

B.

-- 
				WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20010803/86651af4/attachment.bin


More information about the OCLUG mailing list