Advent of Code 2020: day 5 (478/354) @joshuawise
Advent of Code 2020: day 5 (478/354)  @joshuawise
Uploaded December 2020 | Updated November 2026, 2 days ago
It's that time of year again! I did not have "the obvious insight" that would allow you to go fast -- to just interpret the "seat ID" as bits -- and so I very carefully wrote a binary search and avoided writing an off-by-one, and then, against my good judgement, tested it. This did not allow me to go fast, and as a result, I turned in another mediocre result. But that's life.

Code: github.com/jwise/aoc/blob/master/2020/5.lua and github.com/jwise/aoc/blob/master/2020/5b.lua

0:00 - Introduction
3:11 - Part 1
9:41 - Part 2
11:56 - "The obvious insight"

#AdventofCode
Advent of Code 2020: day 5 (478/354)VSRT Cyclocross 2021: mens C full race (29/55)Eric Goodchild plays his laser harp.Advent of Code 2019 day 8 (60*, 83**)The final Wumpskate SF BayAdvent of Code 2020: day 3 (2358/2029)Boris Johnson goes to Ghana (Astronomia)The Teslathon Band plays the blues.APEX Buggy has a tough time with the liftgate on their truck.Advent of Code 2020: day 18Advent of Code 2021: day 14Advent of Code 2021: day 21 (91/115)
Joshua Wise |

Advent of Code 2020: day 5 (478/354)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER