This commit is contained in:
Daniel Flanagan 2022-12-15 03:20:01 -06:00
parent 3bd3646290
commit ca848fe338
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -133,6 +133,8 @@ fn part2(input: Input) -> Answer {
for y in 0..input.map.len() { for y in 0..input.map.len() {
for x in 0..input.map[y].len() { for x in 0..input.map[y].len() {
if input.map[y][x] == 0 { if input.map[y][x] == 0 {
// TODO: if you care in the future, this can be modified so we
// re-use our scoring graphs to find the shortest path from the end to some a
possible_starts.insert((y, x)); possible_starts.insert((y, x));
} }
} }