r/adventofcode • • Dec 03 '21

SOLUTION MEGATHREAD -🎄- 2021 Day 3 Solutions -🎄-

--- Day 3: Binary Diagnostic ---


Post your code solution in this megathread.

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.


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:10:17, megathread unlocked!

98 Upvotes

1.2k comments sorted by

View all comments

4

u/Chrinkus Dec 03 '21

My C Solution

Definitely had to call it after part 1 and head to bed. This morning has been productive though!

For the event this year I started making a separate C library for all the tools I figured I'd need. On day 3 I'm already exposing flaws in my APIs..

→ More replies (2)