Add solution for "Day 20: Race Condition", part 2

This commit is contained in:
2025-06-04 23:29:27 +02:00
parent 43f1798343
commit e1eb8fbe2b
6 changed files with 80 additions and 37 deletions

View File

@@ -36,6 +36,7 @@ class Point2
int x, y;
Point2();
Point2(const int x, const int y);
int calcManhattanDistance(const Point2& other) const;
bool operator==(const Point2& rhs) const;
bool operator!=(const Point2& rhs) const;
bool operator<(const Point2& rhs) const;