Bringing some days up to speed after a short break

This commit is contained in:
shockrah committed 2024-12-09 11:27:22 -08:00
1 parent 9fac5539f0
commit c63736752b
4 files changed
+115 -1

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ if __name__ == '__main__':
right.append(r)
# how many times does each number apear in each list
right = counts(right)
score = 0
score = sum([0 if n in right else n * right[n] for n in left])
for n in left:
if n not in right: continue
score += n * right[n]