Skip to content

Commit

Permalink
2024/08 writeup
Browse files Browse the repository at this point in the history
  • Loading branch information
encse committed Dec 8, 2024
1 parent 1602672 commit b650de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2024/Day08/Solution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ IEnumerable<Complex> GetAntinodes1(Complex srcAntenna, Complex dstAntenna, Map m
}
}

// in part 2 this becomes a cycle, plus srcAntenna is also a valid position now
// in part 2 this becomes a cycle, plus dstAntenna is also a valid position now
IEnumerable<Complex> GetAntinodes2(Complex srcAntenna, Complex dstAntenna, Map map) {
var dir = dstAntenna - srcAntenna;
var antinote = dstAntenna;
Expand Down

0 comments on commit b650de1

Please sign in to comment.