diff --git a/2022/rust/src/day14.rs b/2022/rust/src/day14.rs index 1c3e75b..acada98 100644 --- a/2022/rust/src/day14.rs +++ b/2022/rust/src/day14.rs @@ -87,7 +87,7 @@ fn part2(input: &mut Input) -> Answer { println!("{}", input.low_point); let mut result = 0; { - let y = input.low_point + 1; + let y = input.low_point + 2; for x in -1000..1000 { input.map.insert((x, y), '#'); }