pub fn sync_lazy_submit_part<U, M: MaybeDisplay>(
day: u32,
year: i32,
part: u32,
solution_part_1: impl FnOnce(U) -> M,
parse_raw: impl FnOnce(&str) -> U,
)
Expand description
Run the function only if we haven’t seen a solution.
Will also run solution if --force-run
or --practice
is passed on the
command line.
If the day is 25 and the part is 2, will ignore the solution.