summary refs log tree commit diff homepage
path: root/2016/input/day17.txt
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-12 00:50:59 -0500
committerJune McEnroe <june@causal.agency>2020-11-22 00:14:26 -0500
commit53a5a30273cff033cd344f6565856cf6ae37e846 (patch)
tree63c04a92666ddb5d6089ae6333ae6f7c3fa6539f /2016/input/day17.txt
parentSolve day 10 part 1 (diff)
downloadaoc-53a5a30273cff033cd344f6565856cf6ae37e846.tar.gz
aoc-53a5a30273cff033cd344f6565856cf6ae37e846.zip
Solve day 10 part 2
I'm so fucking frustrated with this one. I was stuck for hours trying to
sort the points by angle not realizing that (int)(angle(a) - angle(b))
would be 0 for all angles with differences smaller than 1. I also wanted
to do the sort by atan2(-y, x) - π/2 intuitively to get "up" be zero,
but I never got that to work.
Diffstat (limited to '2016/input/day17.txt')
0 files changed, 0 insertions, 0 deletions
olspan='3' class='logmsg'> 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe