AoC2020/05-2-1.py
2020-12-05 08:53:35 +01:00

2 lines
125 B
Python

print(set(s:=sorted(map(lambda x:int(''.join(map(lambda y:'01'[int(y in'BR')],x)),2)//2,open(0))))^set(range(s[0],s[-1]+1)))