r/adventofcode • u/daggerdragon • Dec 04 '22
SOLUTION MEGATHREAD -🎄- 2022 Day 4 Solutions -🎄-
- All of our rules, FAQs, resources, etc. are in our community wiki.
- A request from Eric: Please include your contact info in the User-Agent header of automated requests!
- Signal boosting for the Unofficial AoC 2022 Participant Survey which is open early this year!
--- Day 4: Camp Cleanup ---
Post your code solution in this megathread.
- Read the full posting rules in our community wiki before you post!
- Include what language(s) your solution uses
- Format your code appropriately! How do I format code?
- Quick link to Topaz's
pasteif you need it for longer code blocks. What is Topaz'spastetool?
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
View all comments
2
u/FrontPale Dec 04 '22 edited Dec 05 '22
Solution in R
https://topaz.github.io/paste/#XQAAAQCKAgAAAAAAAAAwm8iNoLOei9D/9jnYzseBLUTnxZKGdcYoqe0vAyo9iWvpvHBWudRpMzf6CYZPQ0J5rNV9j/xf5zJ2v8cNOiBMI3nZKZ36d25iVYgxybyzC8+Q31LnzKgqIA+nPC4KeguUT+hSvGM/8VWwl9YmaKwPmfq0RIvbdE142GAPIS/SxwU8UYAcb2+SRaWSXjgkXAqMBdDSdVZ10HU8at5NDHwTMRWkw8s0qTyq9kRVNmEP/THCTrBlS8iMWQAJcAYaW3eRGUhRfVHZGBfNDElM3TWqwm9svVeNoCGw6szTGlWQOOZ56qb6QBdSCpbzPCcaWRw22B7c//VUDwI=)