aoc24: day02b complete
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
#include <vector>
|
||||
#include <span>
|
||||
|
||||
#include "aoc/aoc.hpp"
|
||||
#include "aoc.hpp"
|
||||
#include "aoc/utils.hpp"
|
||||
#include "fmt/format.h"
|
||||
#include "ctre.hpp"
|
||||
|
||||
@@ -121,7 +122,7 @@ auto read_text_matnxn(std::string const& path) -> matnxn {
|
||||
}
|
||||
}
|
||||
|
||||
auto aoc::entry([[maybe_unused]]std::span<char const*> const& args) -> void {
|
||||
auto aoc24::day04([[maybe_unused]]std::span<char const*> const& args) -> std::expected<void, aoc::error> {
|
||||
auto source = cms::read_text_matnxn("./dat/24/ex/04.txt");
|
||||
|
||||
cms::vecn hpat{'X', 'M', 'A', 'S'};
|
||||
@@ -155,5 +156,6 @@ auto aoc::entry([[maybe_unused]]std::span<char const*> const& args) -> void {
|
||||
// }
|
||||
// fmt::print("\n");
|
||||
// }
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user