AoC2020/01-1-1.py

3 lines
93 B
Python
Raw Normal View History

2020-12-03 21:34:39 +00:00
l=set(map(int,open("/dev/stdin").readlines()))
print([a*(2020-a) for a in l if 2020-a in l])