I submitted my solution to PSET6, but the autograder does not seem to evaluate the solution correctly. I have checked the solution using check50 and everything passed. I compared the staff solution against mine and also confirmed that the submitted solution works fine. No memory leaking also. According to the instructions it is OK to research hash functions on the WEB or books as long as we acknowledge the source. I did that. My solution uses two extra files, trie.c and trie.h. I did change the make file also. I suspect that the problem is with the autograder because when I checked my solution with check50 the web site instructions were: check50 2014/x/pset6/speller dictionary.c dictionary.h Makefile but that didn't work. I had to add to the command line the two files that I created: check50 2014/x/pset6/speller dictionary.c dictionary.h trie.c trie.h Makefile in order to make it pass the autograder. Normally this should not be a problem because the site instructions state: You may add functions to dictionary.c or to files of your own creation so long as all of your code compiles via make. I would like to get some help on how to get credit for this.


  • Please add picture of check50 results or grade details
    – lethaljd
    Dec 9 '14 at 12:09
  • Can I see your Makefile? And another thing, making trie.h seems obvious but you made trie.c ? For what? I guess grader is always in a mood to run a single file, which in this pset is dictionary and not trie.
    – sinister
    Dec 9 '14 at 16:39

Nevermind, I found a solution here: http://www.reddit.com/r/cs50/comments/2onjfk/pset6_check50_error/ "check50 (and the autograder which is the same) doesn't recognize additional files, so best to consolidate them into your dictionary file. The pset instructions apply to the 'in-person' class and unfortunately weren't changed for the edX version, leading to this confusion." I did it and worked. Thanks everyone for your help

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .