Solve 2020 day 5

This commit is contained in:
2024-08-29 06:10:05 -04:00
parent 631205086d
commit 305fe0b325
3 changed files with 47 additions and 5 deletions

View File

@@ -1,17 +1,18 @@
from lib import get_data, Grid2D
from lib import get_data
required = [
required = [
"byr",
"iyr",
"eyr",
"hgt",
"hcl",
"ecl",
"pid",]
"pid",
]
# hgt (Height) - a number followed by either cm or in:
#
#
# If cm, the number must be at least 150 and at most 193.
# If in, the number must be at least 59 and at most 76.