[oclug] Programming Wars 2.0 - September 2001

Vic Gedris vic at worldwidepunk.com
Fri Aug 3 09:31:38 EDT 2001


On Fri, 3 Aug 2001, Bart Trojanowski wrote:

> * Vic Gedris <vic at worldwidepunk.com> [010803 08:51]:
> > Like I said before, I don't think it should be a big problem generating
> > a seed within the program.  Or am I completely wrong and this can't be
> > done without a seed?
>
> The program does not need to be seeded with a large table of primes...
> as you said it can generate them and to do this you definitely need to
> know what primes are.
>
> I think allowing the hardcoding of '2' as a prime is needed; the rest
> can be computed from that.
>
> It is upto you, the organizer, to decide how many, if any, primes are
> allowed to be known to the program when it starts.  If you say none --
> which I think means 1, ie the number 2 -- then that is what valid
> entries will have to be.

Actually, we joked about this at last night's meeting.  I will be
extremely generous and forgive anyone who seeds their program with a
"2".  ;-)

-Vic

-- 
------------------------------------------------------------------------
    WORLD WIDE PUNK        http://www.worldwidepunk.com
vic-at-worldwidepunk.com   PO Box 52051, Ottawa Ontario, K1N 5S0, CANADA
------------------------------------------------------------------------




More information about the OCLUG mailing list