AoC2020/01-1-1.py
2020-12-04 00:43:22 +01:00

3 lines
79 B
Python

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