This commit is contained in:
Daniel Flanagan 2022-12-16 14:35:34 -06:00
parent 75479c6006
commit eb441b0704
Signed by untrusted user: lytedev-divvy
GPG key ID: 6D69CEEE4ABBCD82

View file

@ -81,7 +81,6 @@ fn part1(input: &Input, y: i64) -> Answer {
fn part2(input: &Input, max: i64) -> Answer { fn part2(input: &Input, max: i64) -> Answer {
let (miny, maxy) = (0, max); let (miny, maxy) = (0, max);
for y in miny..=maxy { for y in miny..=maxy {
if y %
let mut applicable_ranges = input let mut applicable_ranges = input
.iter() .iter()
.filter_map(|s| { .filter_map(|s| {