diff --git a/04-1-1.py b/04-1-1.py index a3e09a0..38a5e89 100644 --- a/04-1-1.py +++ b/04-1-1.py @@ -1 +1 @@ -print(sum(map(lambda x:7==len(set(['byr','iyr','eyr','hgt','hcl','ecl','pid'])&set(map(lambda y:y[:3],x.replace('\n',' ').split(' ')))),open(0).read().split("\n\n")))) +print(sum(map(lambda x:6