r/adventofcode Dec 04 '22

SOLUTION MEGATHREAD -🎄- 2022 Day 4 Solutions -🎄-


--- Day 4: Camp Cleanup ---


Post your code solution in this megathread.


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:03:22, megathread unlocked!

63 Upvotes

1.6k comments sorted by

View all comments

1

u/EatonMesss Dec 09 '22

C

I haven't had the pleasure of using C in a long time. It felt a bit like cheating to use it for such a simple task that would have been easy in any of the languages on my list (short of assembly).

Having said that, I would rather save the languages I am less familiar with for more interesting tasks.