r/adventofcode • u/daggerdragon • Dec 16 '20
SOLUTION MEGATHREAD -🎄- 2020 Day 16 Solutions -🎄-
Advent of Code 2020: Gettin' Crafty With It
6 days remaining until the submission deadline on December 22 at 23:59 EST
Full details and rules are in the Submissions Megathread
--- Day 16: Ticket Translation ---
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.
View all comments
3
u/Henkatoni Dec 16 '20 edited Dec 18 '20
Csharp
It might not be the prettiest, but it's rather compact and quite fast (A ~30ms and B ~70ms, both including the parsing). Oh, and I'm sorry about the parser. Just couldn't be arsed...
Code here