AoC2020/05-1-1.py

2 lines
96 B
Python
Raw Normal View History

2020-12-05 07:54:46 +00:00
print(sorted(map(lambda x:int(''.join(map(lambda y:'01'[int(y in'BR')],x)),2),open(0)))[-1]//2)