Day 14 part 2

Sat down to work, realized immediately somehow my floor was off by one.

Off by ones in the morning. Good times.
This commit is contained in:
Daniel Flanagan 2022-12-16 09:20:22 -06:00
parent 2489f77aab
commit 57debf1ab2
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -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), '#');
}