AoC2020/01-2-1.py
2020-12-03 22:34:39 +01:00

3 lines
112 B
Python

l=list(map(int, open("/dev/stdin").readlines()))
print([a*b*c for a in l for b in l for c in l if a+b+c==2020])