add solution of hw2

This commit is contained in:
JamesFlare1212
2025-01-23 06:14:30 -05:00
parent b638fdea68
commit a5667d5026
9 changed files with 678 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
HOMEWORK 2: Ride Sharing
NAME: < insert name >
NAME: Jinshan Zhou
COLLABORATORS AND OTHER RESOURCES:
@@ -10,17 +10,17 @@ List the names of everyone you talked to about this assignment
LMS, etc.), and all of the resources (books, online reference
material, etc.) you consulted in completing this assignment.
< insert collaborators / resources >
<sstream>, <iomanip> usage cases online. And one of my classmates - Qijun Lu
Remember: Your implementation for this assignment must be done on your
own, as described in "Academic Integrity for Homework" handout.
ESTIMATE OF # OF HOURS SPENT ON THIS ASSIGNMENT: < insert # hours >
ESTIMATE OF # OF HOURS SPENT ON THIS ASSIGNMENT: 12 hr
MISC. COMMENTS TO GRADER:
(optional, please be concise!)
Ignore the debug codes. To enable it, take `debug` as the last argument.
## Reflection and Self Assessment
@@ -33,4 +33,9 @@ What parts of the assignment did you find challenging? Is there anything that
finally "clicked" for you in the process of working on this assignment? How well
did the development and testing process go for you?
< insert reflection >
The complexity of this assignment has significantly increased. I attempted
to write the code directly but encountered unprecedented difficulties, and
the code became increasingly messy. Eventually, I had no choice but to draw a
flowchart and then gradually implement the code based on it. This means that
textual descriptions are not as clear as diagrams, so next time I will read
the documentation first, design the structure properly, and then start coding.