summary refs log tree commit diff homepage
path: root/2016/src/bin/day21.rs
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-03 02:02:07 -0500
committerJune McEnroe <june@causal.agency>2019-12-03 02:02:07 -0500
commitbe1fed91e8706938f6e69642d9a4211967d89d20 (patch)
tree39d4706eb009c9ca0b32e38753cd3af40d17290a /2016/src/bin/day21.rs
parentSolve day 3 part 1 (diff)
downloadaoc-be1fed91e8706938f6e69642d9a4211967d89d20.tar.gz
aoc-be1fed91e8706938f6e69642d9a4211967d89d20.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 '')
0 files changed, 0 insertions, 0 deletions
June McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe