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:
parent
2489f77aab
commit
57debf1ab2
|
@ -87,7 +87,7 @@ fn part2(input: &mut Input) -> Answer {
|
||||||
println!("{}", input.low_point);
|
println!("{}", input.low_point);
|
||||||
let mut result = 0;
|
let mut result = 0;
|
||||||
{
|
{
|
||||||
let y = input.low_point + 1;
|
let y = input.low_point + 2;
|
||||||
for x in -1000..1000 {
|
for x in -1000..1000 {
|
||||||
input.map.insert((x, y), '#');
|
input.map.insert((x, y), '#');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue