aoc24: add day16

This commit is contained in:
2024-12-16 16:43:34 +01:00
parent 1108b8c65b
commit 9c840a7c8f
15 changed files with 976 additions and 8 deletions

21
sol/24/day14.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include <vector>
#include <ranges>
#include <numeric>
#include "aoc.hpp"
#include "aoc/utils.hpp"
#include "fmt/format.h"
using namespace aoc::types;
using namespace std::string_view_literals;
namespace ebh {
}
auto aoc24::day14([[maybe_unused]]std::span<char const*> const& args) -> std::expected<void, aoc::error> {
// auto res = aoc::read_text("./dat/24/ex/07.txt");
auto res = aoc::read_text("./dat/24/re/07.txt");
if (!res) return std::unexpected(res.error());
auto const txt = *res;
return {};
}