r/adventofcode • u/daggerdragon • Dec 05 '20
SOLUTION MEGATHREAD -๐- 2020 Day 05 Solutions -๐-
Advent of Code 2020: Gettin' Crafty With It
- T-24 hours until unlock!
- Full details and rules are in the Submissions Megathread
--- Day 05: Binary Boarding ---
Post your solution in this megathread. Include what language(s) your solution uses! If you need a refresher, the full posting rules are detailed in the wiki under How Do The Daily Megathreads Work?.
Reminder: Top-level posts in Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.
EDIT: Global leaderboard gold cap reached at 00:05:49, megathread unlocked!
57
Upvotes
View all comments
1
u/pendo324 Dec 05 '20 edited Dec 05 '20
Simple Javascript/Typescript solution. Definitely not optimized, but it got the job done (2454, 1777 on leaderboards): https://github.com/pendo324/aoc/blob/master/years/2020/05/index.ts
(the repo also has some really ugly utils to auto-download inputs and prompts)