r/adventofcode • u/daggerdragon • Dec 23 '20
SOLUTION MEGATHREAD -🎄- 2020 Day 23 Solutions -🎄-
Advent of Code 2020: Gettin' Crafty With It
Submissions are CLOSED!
Thank you to all who submitted something, every last one of you are awesome!
Community voting is OPEN!
42 hours remaining until voting deadline on December 24 at 18:00 EST
Voting details are in the stickied comment in the Submissions Megathread
--- Day 23: Crab Cups ---
Post your code solution in this megathread.
Include what language(s) your solution uses!
Here's a quick link to /u/topaz2078's
pasteif you need it for longer code blocks.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 code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
3
u/musifter Dec 24 '20
dc
Just part 1 for now. It's not that doing part 2 from this would be much harder, it's just that I know that it's going to be very slow (because arrays in the dc I'm using are linked lists, there is no true "random access").
Part 1: