Day 23 solution

This one takes around a second to arrive at the first answer and around 30 seconds to arrive at the second answer. I don't know why, since I'm just running the given program as fast as possible (is my interpreter slow?). Go channels should be about as fast as we can get here. Maybe it would actually run faster if everyone stopped and processed their inputs at the same time or something? I dunno.

Part 2 was pretty simple, though I feel like my idle detection could be improved. Seems to work, though.
This commit is contained in:
2022-06-26 10:21:44 -05:00
parent 334aaee7a5
commit 36615d7f06
3 changed files with 172 additions and 0 deletions

View File

@ -56,6 +56,7 @@ var dayMap = []day{
&days.Day20{},
&days.Day21{},
&days.Day22{},
&days.Day23{},
}
func main() {