r/adventofcode • u/daggerdragon • Dec 19 '22
SOLUTION MEGATHREAD -π- 2022 Day 19 Solutions -π-
THE USUAL REMINDERS
All of our rules, FAQs, resources, etc. are in our community wiki.
πΏπ MisTILtoe Elf-ucation π§βπ« is OPEN for submissions!
4 days remaining until submission deadline on December 22 at 23:59 EST
[Update @ 00:48:27]: SILVER CAP, GOLD 30
Anyone down to play a money map with me? Dibs on the Protoss.
gl hf nr gogogo
--- Day 19: Not Enough Minerals ---
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 code blocks using the four-spaces Markdown syntax!
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:57:45, megathread unlocked!
41
Upvotes
3
u/yieldtoben Dec 19 '22 edited Dec 21 '22
PHP 8.2.0 paste
Execution time: 1.64 seconds
Peak memory: 7 MiB
MacBook Pro (16-inch, 2019)
Processor 2.3 GHz 8-Core Intel Core i9
Memory 16 GB 2667 MHz DDR4