Add solution for 2025 Day 3

This commit is contained in:
Thraix committed 2025-12-03 21:28:28 +01:00
1 parent ebd39eb65f
commit f7e7f25ba4
3 files changed
+53 -13

No files matched your search

+7
View File
@@ -1,6 +1,7 @@
#pragma once
#include <algorithm>
#include <array>
#include <functional>
#include <iostream>
#include <limits>
@@ -685,6 +686,12 @@ static std::ostream& operator<<(std::ostream& stream, const std::set<T>& contain
return Helper::Print(stream, container);
}
template <typename T, size_t N>
static std::ostream& operator<<(std::ostream& stream, const std::array<T, N>& container)
{
return Helper::Print(stream, container);
}
template <typename T, typename S>
static std::ostream& operator<<(std::ostream& stream, const std::map<T, S>& container)
{