Wednesday, November 22, 2017

Programming Contest for Thanksgiving Break!

As always, I encourage everyone in the programming group to look at and code an entry for our existing contests.  Right now, however, I am giving a new one that isn’t posted on the programming challenge page of our website.

So without further delay, here is the contest problem:

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
Find the sum of all the primes below one million.

As with the other contests, you can submit an entry using LabVIEW, Python, or both.  Evaluation will be on accuracy, speed, and code documentation (comments).

I don’t like to give hints upfront, but if you look at the existing contests, there is one that deals with prime numbers, that may be helpful.  Further, the commentary surrounding the prior contest solutions may be just as important as the actual code, in gaining insight.

Entries are due by 11:59 p.m. PST on Sunday, November 26, 2018.

Good luck!

— Len

No comments:

Post a Comment