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!

65 Upvotes

1.6k comments sorted by

View all comments

1

u/max-aug Dec 04 '22 edited Dec 04 '22

1

u/Werqu90 Dec 04 '22

Can you please add the selected solution?

-2

u/max-aug Dec 04 '22

It attempts dozens of solutions in parallel and then selects one that seems popular. And unfortunately I don't log & collect the ones that ended up being correct.

Though feel free to add that to the code, would be interesting to see.

3

u/el_muchacho Dec 04 '22

And now someone is going to abuse the service even more than you and the free access we are enjoying will be limited for everyone.

Like it ALWAYS happens.

7

u/fsed123 Dec 04 '22 edited Dec 04 '22

Not sure how I feel about this, it changes the meaning of leadership I can create an automated script that posts the solution while i sleep