Module solution

Module solution 

Source
Expand description

Traits for declaring solutions of advent of code puzzles, and functions for running them.

Traits§

Day
Solution for both parts of a day
Part
A solution of a part of an advent of code puzzle.

Functions§

run
Run a day dynamically (with the day itself specified at runtime).
run_day
Run the solution of both parts for a given day, returning the result as a string.
run_day_part
Run the solution of a given part for the given day, returning the result as a string.