Add solution for 2016 Day 24
This commit is contained in:
1 parent
edc2fd0b6c
commit
ae71ae6905
4 files changed
+119
-33
No files matched your search
@@ -106,6 +106,11 @@ public:
|
||||
return graph.find(from)->second.find(to)->second;
|
||||
}
|
||||
|
||||
const std::map<Key, std::map<Key, Value>>& GetGraph() const
|
||||
{
|
||||
return graph;
|
||||
}
|
||||
|
||||
const std::map<Key, Value>& GetPaths(const Key& from) const
|
||||
{
|
||||
return graph.find(from)->second;
|
||||
|
||||
Reference in new issue
Block a user