macro_rules! solution {
($day:expr, $parser:expr, $solver:expr) => { ... };
}
Expand description
Declare a new solution:
$day
is the day of the exercise this solution solves. This is used to download the input file automatically.$parser
is an instance ofcrate::parser::Parsing
. (See [failable_parser!()
] or [parser!()
])$solver
is an instance ofcrate::solution::Solver
. (See [solver!()
])