Problem Set 3

Week 3 Problem Set

Source: https://cs50.harvard.edu/x/psets/3/


Problem Set 3

Collaboration on problem sets is not permitted except to the extent that you may ask classmates and others for help so long as that help does not reduce to another doing your work for you, per the course’s policy on academic honesty.

The staff conducts random audits of submissions to CS50x. Students found to be in violation of this policy will be removed from the course. Students who have already completed CS50x, if found to be in violation, will have their CS50 Certificate permanently revoked.

What to Do

  1. Submit Sort
  2. Submit Plurality
  3. Submit one of:
    • Runoff, if feeling more or less comfortable
    • Tideman, if feeling very, very, very comfortable

If you submit both Runoff and Tideman, we’ll record the higher of your two scores. Note that Tideman is optional but challenging!

When to Do It

By 2025-12-31T23:59:00+00:00.

Advice

  • Try out any of David’s programs from class via Week 3’s source code.

  • If you see any errors when compiling your code with make, focus first on fixing the very first error you see, scrolling up as needed. If unsure what it means, try asking help50 for help. For instance, if trying to compile plurality, and

    make plurality
    

    is yielding errors, try running

    help50 make plurality
    

    instead!