AoC2020/01-2-1.py

3 lines
111 B
Python
Raw Normal View History

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