AoC2020/06-2-1.py
2020-12-06 13:15:58 +01:00

2 lines
104 B
Python

print(sum(map(lambda x:sum((f:=x.count)(c)>f('\n')for c in set(x)),open(0).read()[:-1].split('\n'*2))))