aoc
2023.12.25
In aoc::
year2022::
day04
Function
aoc
::
year2022
::
day04
::
parse
Copy item path
source
ยท
[
−
]
pub fn parse(input: &
str
) ->
Vec
<[
u32
;
4
]>
Expand description
Parse each line into 4 integers.
Notes:
Extracting integers from redundant text is a very common theme in Advent of Code that the
iter_unsigned
method handles.