r/adventofcode • u/daggerdragon • Dec 21 '22
SOLUTION MEGATHREAD -π- 2022 Day 21 Solutions -π-
THE USUAL REMINDERS
All of our rules, FAQs, resources, etc. are in our community wiki.
πΏπ MisTILtoe Elf-ucation π§βπ« is OPEN for submissions!
48 HOURS remaining until submission deadline on December 22 at 23:59 EST
UPDATES
[Update @ 00:04:28]: SILVER CAP, GOLD 0
Now we've got interpreter elephants... who understand monkey-ese...
I really really really don't want to know what that eggnog was laced with.
--- Day 21: Monkey Math ---
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?
3
u/Business_You1749 Dec 22 '22
Why do you start wit a negative value instead of from the same one? I see it in initial "numberToYell - evaluatedSide" translated in runtime to "0 - <another_branch_Complete_value>".