2023 #1

Merged
tyrel merged 5 commits from 2023 into main 2023-12-03 04:14:17 +00:00
Showing only changes of commit dfe6dda514 - Show all commits

View File

@ -36,7 +36,17 @@ def part1(rows):
# @shared.profile # @shared.profile
def part2(rows): def part2(rows):
pass total = 0
for row in rows:
_, colors = split_games(row)
power=1
for vals in colors.values():
power *= max(vals)
total += power
print(total)
def main(): def main():