Add solution for 2016 Day 24

This commit is contained in:
Thraix committed 2026-09-04 19:41:36 +02:00
1 parent edc2fd0b6c
commit ae71ae6905
4 files changed
+119 -33

No files matched your search

+5
View File
@@ -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;