summary refs log tree commit diff homepage
path: root/2018/day17.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-03 02:02:07 -0500
committerJune McEnroe <june@causal.agency>2020-11-22 00:14:26 -0500
commitf03d4ac6c50f47a0321ca168c5a9e1e1702562bf (patch)
treeadd6b9d4db0ef770978a25eeef7e830ae01ba603 /2018/day17.c
parentSolve day 3 part 1 (diff)
downloadaoc-f03d4ac6c50f47a0321ca168c5a9e1e1702562bf.tar.gz
aoc-f03d4ac6c50f47a0321ca168c5a9e1e1702562bf.zip
Solve day 3 part 2
Dang, I got screwed up by normalizing the lines in place rather than
just for the intersection function. When it came to calculating the
length of the final segment to the intersection, the "last" point was
sometimes the wrong end.
Diffstat (limited to '2018/day17.c')
0 files changed, 0 insertions, 0 deletions