summary refs log tree commit diff homepage
path: root/2018/day14.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
commitbe3a5feabe0d97a219bfa0ecac1869075e0c974d (patch)
tree8994fe50aaea633c2fb2793e9a3bc403dcb3bdc5 /2018/day14.c
parentSolve day 3 part 1 (diff)
downloadaoc-be3a5feabe0d97a219bfa0ecac1869075e0c974d.tar.gz
aoc-be3a5feabe0d97a219bfa0ecac1869075e0c974d.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/day14.c')
0 files changed, 0 insertions, 0 deletions