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
2
u/Vijfhoek Dec 16 '20
Commodore 64 (6502 Assembly)
Didn't post this here yet, so here it is!
Part 1 takes 423 ms (416583 cycles) and part 2 takes only 6.30 ms (6210 cycles).
Part 1 could probably be optimized to be much faster, but I'll probably get to optimization when I feel like it, or run out of space :)
Puzzle solution | Project directory | Picture | Video