13 lines
332 B
C++
13 lines
332 B
C++
#include "aoc/aoc.hpp"
|
|
#include "fmt/format.h"
|
|
|
|
auto main([[maybe_unused]]int argc, [[maybe_unused]]char const* argv[]) -> int {
|
|
try {
|
|
aoc::entry({argv, std::next(argv, argc)});
|
|
} catch (std::exception const& e) {
|
|
fmt::print(stderr, "Error at entry: {}\n", e.what());
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|