Add solution for 2025 Day 3
This commit is contained in:
1 parent
ebd39eb65f
commit
f7e7f25ba4
3 files changed
+53
-13
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user