summaryrefslogtreecommitdiff
path: root/3b.c
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-12-09 16:56:52 +0000
committerAdam Spragg <adam@spra.gg>2022-12-09 16:56:52 +0000
commit4291faa39d4aad4a9cfed55600d32403422a2d4b (patch)
treed111ddd6fdb640dedb4c0de8fea2135c9271dbf3 /3b.c
parent0939249b408dce6ceab9c4637c2815b3b6f5f353 (diff)
Solve puzzle 9 part 1
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)
Diffstat (limited to '3b.c')
0 files changed, 0 insertions, 0 deletions