Files
advent-of-code-2023/06/__main__.py
2023-12-12 21:41:47 -08:00

27 lines
462 B
Python

from puzzle import Race, solve
def main():
print("Permutations of Winning Strategies:")
print(
"Part 1 -",
solve(
[
Race(61, 430),
Race(67, 1036),
Race(75, 1307),
Race(71, 1150),
]
),
)
print(
"Part 2 -",
solve(
[Race(61677571, 430103613071150)],
),
)
if __name__ == "__main__":
main()