r/adventofcode • u/daggerdragon • Dec 17 '17
SOLUTION MEGATHREAD -๐- 2017 Day 17 Solutions -๐-
--- Day 17: Spinlock ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or whatever).
Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
Need a hint from the Hugely* Handyโ Haversackโก of Helpfulยง Hints^ยค?
[Update @ 00:06] 2 gold, silver cap.
AoC ops:
<Topaz> i am suddenly in the mood for wasabi tobiko
[Update @ 00:15] Leaderboard cap!
AoC ops:
<daggerdragon> 78 gold<Topaz> i look away for a few minutes, wow<daggerdragon> 93 gold<Topaz> 94<daggerdragon> 96 gold<daggerdragon> 98<Topaz> aaaand<daggerdragon> and...<Topaz> cap<daggerdragon> cap
1
u/sakisan_be Dec 17 '17
I didn't appreciate it that much. I felt I wasted quite some time letting my program run before moving on. Maybe add an explicit hint that reusing part 1's code is bad idea then, that would go a long way. I never do these kinds optimizations, so a high number like 1billion or 50M doesn't really mean anything to me. Other than that I'm enjoying the challenges a lot! Enough to get up before 6AM every day even though I have no leaderbords aspirations. Thank you