aoc
2023.12.25
In aoc::
year2017::
day21
Function
aoc
::
year2017
::
day21
::
to_index
Copy item path
source
ยท
[
−
]
fn to_index(a: &[
u8
]) ->
usize
Expand description
Convert a pattern slice of ones and zeroes to a binary number.