I'm currently making my way through the problem sets, and it's going pretty well. I haven't submitted any of them yet, so I can still change stuff if I want.

I'm don't know much about CS50's grading system (or the American grading system in general), so I'm wondering how much work it takes to get a score of 1.0? Should the work just fulfill every requirement, or do I have to go above and beyond what is expected to get the perfect score?

I know there probably isn't a definitive answer to this, but if any previous CS50 students, or maybe a member of staff, could chime in, that would be great. Thanks!

1 Answer 1


There is a definitive answer. To get a 1.0 score on a pset, it needs to correctly and accurately complete the tasks required by the problem set instructions. The grade is based purely on the results. Coding style, commenting, technique is not analyzed - only successful results.

You can check that your program does so by running check50 locally on your computer as instructed at the end of each pset. The same check50 program is used on the grading servers to assign a grade once you submit your program. check50 looks for precise output from your program. Along with accomplishing the tasks required, check50 looks for exactly correct output. Any extra or missing spaces, line feeds, comments, prompts, stray data, etc., can cause a partial score loss.

You should submit all of your psets now and let the system grade them. You are allowed to change your pset and resubmit any pset as often as you wish, for any reason or no reason at all, until the end of the course at the end of the year. Only the last submission of any problem set counts. There is no penalty for resubmitting.

If this answers your question, please click the check mark and accept. Let's keep up on forum maintenance. ;-)

  • What about style50, should I also have full smileys using that if I wanted to get 1.0?
    – tobloef
    Commented Nov 2, 2015 at 20:04
  • The formatting of the code is not checked for grading purposes. However, you will benefit immensely by checking your code with style50. It will help you develop a better coding style, making your code easier to read and understand when you have to debug or maintain it later. While not necessary, it is definitely worthwhile to make style50 happy.
    – Cliff B
    Commented Nov 2, 2015 at 20:07
  • Okay. I was just wondering since I like the 1TBS way of formatting my brackets. Thank you for the answers.
    – tobloef
    Commented Nov 2, 2015 at 20:11

You must log in to answer this question.

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