To run:
cargo run --release [days...]
From the original template:
Each day has a
solve()
function that returns a pair ofSolution
. The typeSolution
is an enum that can contain any integer or a string.You can create a
Solution
by specifying its type, for exampleSolution::U32(value)
, or by using the From trait which is implemented for all supported types, for exampleSolution::from(value)
.