Function aoc::year2018::day14::unpack

source ยท
fn unpack(first: usize, second: usize) -> (usize, usize, usize)
Expand description

Takes two groups of 8 digits each packed into a usize as input, then returns the output digits and their respective locations. Ones from sums greater than ten are implicit and not included since recipes has already been pre-filled with ones.