Add solution for "Day 18: RAM Run", part 1
This commit is contained in:
@@ -24,7 +24,7 @@ class WeightedEdgeGraph
|
||||
{
|
||||
public:
|
||||
WeightedEdgeGraph();
|
||||
int addVertex(const int weight);
|
||||
int addVertex(const int weight = 0);
|
||||
void addEdge(const int vertex1, const int vertex2, const int weight);
|
||||
int getVertexWeight(const int vertex) const;
|
||||
int getEdgeWeight(const int edge) const;
|
||||
|
||||
Reference in New Issue
Block a user