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.
GitHub now requires that you use SSH or a personal access token instead of a password to log in, but you can still use check50
and submit50
! See cs50.ly/github for instructions if you haven’t already!
What to Do
Be sure you have completed Lab 3 before beginning this problem set.
- Submit Plurality
- Submit one of:
If you submit both Runoff and Tideman, we’ll record the higher of your two scores. But you do not need to submit both. It is not necessary to solve Tideman if you solve Runoff instead.
When to Do It
Advice
- Try out any of David’s programs from class via Week 3’s examples.
- 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 askinghelp50
for help. For instance, if trying to compilehello
, andmake plurality
is yielding errors, try running
help50 make plurality
instead!