Problem Set 1
What to Do
Did you start CS50 AP in 2021–2022 or prior? Be sure to follow these instructions if you haven’t already!
- Log into code.cs50.io using your GitHub account and follow the on-screen instructions to set up your very own “codespace” for Visual Studio Code
- Once your codespace has loaded, close any Welcome tabs that might have opened by default
- Log into submit.cs50.io using your GitHub account and click Authorize cs50 to activate
check50
- Run
update50
in your codespace’s terminal window to ensure your codespace is up-to-date and, if prompted, click Rebuild now - Submit Hello
- Submit one of:
- this version of Mario if feeling less comfortable
- this version of Mario if feeling more comfortable
- Submit one of:
If you submit both versions of Mario, we’ll record the higher of your two scores. If you submit both Cash and Credit, we’ll record the higher of your two scores.
When to Do It
By the College Board’s AP deadlines for the 2022–2023 academic year.
Advice
- Try out any of David’s programs from class via Week 1’s source code.
- See CS50’s style guide for C for tips on how to improve your code’s style.
- 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 hello
is yielding errors, try running
help50 make hello
instead!