This website requires JavaScript.
Explore
Help
Sign In
apo
/
AoC2020
Watch
1
Star
0
Fork
0
You've already forked AoC2020
Code
Issues
Pull Requests
Releases
Wiki
Activity
b0238d6e5f
AoC2020
/
01-2-1.py
3 lines
99 B
Python
Raw
Normal View
History
Unescape
Escape
remove readlines
2020-12-03 22:48:33 +00:00
l
=
list
(
map
(
int
,
open
(
"
/dev/stdin
"
)
)
)
Initial commit
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
]
)
Reference in New Issue
Copy Permalink