2025(09): kijk, Olaf; het past op één regel

This commit is contained in:
2025-12-09 21:18:57 +01:00
parent 686c8b08eb
commit d148cf5722
2 changed files with 78 additions and 0 deletions

1
2025/09/part1.py Normal file
View File

@ -0,0 +1 @@
from itertools import combinations; print(max([(abs(x[0] - y[0]) + 1)*(abs(x[1] - y[1]) + 1) for x, y in combinations([[int(x) for x in datum.split(",")] for datum in open("input", "r").read().splitlines()], 2)]))