Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-09 | Solve puzzle 9 part 1 | Adam Spragg | |
I wasn't creating a new tail element after inserting the first tail, so when we revisited the origin the second time it didn't spot it as a dupe, giving an off-by-one error (The test input didn't have the tail pass the origin twice, so this wasn't an issue there) | |||
2022-12-09 | First attempt at puzzle 9 part 1 (buggy) | Adam Spragg | |
Apparently the answer it gets for the full input (5736) is wrong. The answer for the test input (13) is right though. Added a bunch of debugging logic, to try and see *where* it's going wrong, but I can't see it so far. This one is interesting. |