I can't seem to figure out why the CS50x gradebook says that my find code is wrong but when I check the exact same code using check50, I get all smileys.
I did everything as per instructed. I uploaded my pset3.zip
file. Fifteen.c
was graded fine. But something seems to be wrong with the grading of my find.c
or helpers.c
. They say that it doesn't find 42
in the various scenarios given when it should, but I still get marks for the tasks when the code is not expected to find 42
.
I did a manual test using my codes and the scenarios given and they work fine. Even tested it with check50 and it says it's fine with the following message.
jharvard@appliance (~/pset3/find): check50 2014/x/pset3/find helpers.c
:) helpers.c exists
:) helpers.c compiles
:) finds 42 in {42,43,44}
:) finds 42 in {41,42,43}
:) finds 42 in {40,41,42}
:) finds 42 in {41,42,43,44}
:) finds 42 in {40,41,42,43}
:) finds 42 in {39,40,41,42}
:) doesn't find 42 in {39,40,41}
Anyone else with the same problem? Anyone who can offer any assistance? Would be greatly appreciated!