Files
aoc/sol/24/day12.cpp

28 lines
637 B
C++

#include <utility>
#include <vector>
#include <algorithm>
#include <numeric>
#include <thread>
#include <functional>
#include <mutex>
#include "aoc.hpp"
#include "aoc/utils.hpp"
#include "fmt/format.h"
using namespace aoc::types;
using namespace std::string_view_literals;
namespace gmf {}
auto aoc24::day11([[maybe_unused]]std::span<char const*> const& args) -> std::expected<void, aoc::error> {
auto res = aoc::read_text("./dat/24/re/12.txt");
// auto res = aoc::read_text("./dat/24/ex/12a.txt");
if (!res) return std::unexpected(res.error());
auto const txt = *res;
fmt::print("{}\n", txt);
return {};
}