AoC2020/01-1-1.py
2020-12-04 20:44:01 +01:00

3 lines
66 B
Python

l=set(map(int,open(0)))
print([a*b for a in l if(b:=2020-a)in l])