Day 23 solution

This one takes around a second to arrive at the first answer and around 15 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-07-20 08:35:34 -05:00
parent 4175778d52
commit 7e4b44a3b6
3 changed files with 172 additions and 0 deletions

1
inputs/23p.txt Normal file

File diff suppressed because one or more lines are too long