As it’s been explained in class and written in the READMEs, the only files you change in the assignments should be those in the src/ directory. All includes and namespaces you use in your code have to be in these *.cpp files, or else they won’t compile. I marked your assignments on the CDF machines, where your code must compile and run to get full marks.
From the README:
The include/ directory contains one file for each function that you will implement as part of the assignment. Do not change these files.
The src/ directory contains empty implementations of the functions specified in the include/ directory. This is where you will implement the parts of the assignment.
I took off 2 points each time an include or scoping operator caused your code not to compile as a gentle reminder to make sure it runs. Most people with this problem still achieved an A on assignment 1.
Yes, I am grading the algorithm implementation based on the visual output. If your output looked wrong, I gave partial credit based on the code and comments written. However, it’s also expected that instructions are followed and valid c++ is written. This is, yes, less important, but nevertheless important.