aoc24: add day07-08

This commit is contained in:
2024-12-09 02:15:47 +01:00
parent aaff50eae9
commit ec9028c5f5
5 changed files with 930 additions and 2 deletions

View File

@@ -2,6 +2,13 @@
#include "aoc/utils.hpp"
#include "fmt/format.h"
auto aoc24::day07([[maybe_unused]]std::span<char const*> const& args) -> std::expected<void, aoc::error> {
return aoc::make_error("day 7", std::errc::not_supported);
namespace rbr {
}
auto aoc24::day07([[maybe_unused]]std::span<char const*> const& args) -> std::expected<void, aoc::error> {
auto res = aoc::read_text("./dat/24/re/07.txt");
if (!res) return std::unexpected(res.error());
auto const txt = *res;
return {};
}