aoc24: add day16
This commit is contained in:
27
sol/24/day12.cpp
Normal file
27
sol/24/day12.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#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 {};
|
||||
}
|
||||
Reference in New Issue
Block a user