[CSC 330] BE CAREFUL!!! Small tests are failing!

Andrew J. Pounds pounds_aj at mercer.edu
Thu Oct 7 13:39:53 EDT 2021


So I started grading the project this morning and was shocked by
something I found.  Some codes failed for the inputs of 9, 11, and 13.

Here is why...  if you do not consider 1 to be prime then Goldbach's
conjecture fails on this cases.  There are not three prime numbers that
can be summed to produce them.  Only if you include 1 as a prime does
Goldbach's weak conjecture succeed.

1 + 3 + 5 = 9

1 + 3 + 7 = 11

1 + 5 + 7 = 13

PLEASE CHECK YOUR WORK.  Correctness counts a lot in this exercise.  If
you need to fix your code, then please mention that in the issue you
created and re-push your code ASAP.  If your initial push and issue were
created before the due date I will not take off for the code being late.
  I plan on starting the code grading process again on Saturday morning
- so please get this all fixed by then.

 

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University,  Macon, GA 31207   (478) 301-5627

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc330/attachments/20211007/2e7a1024/attachment.html>


More information about the csc330 mailing list