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
768d536af0
AoC2020
/
01-1-1.py
3 lines
66 B
Python
Raw
Normal View
History
Unescape
Escape
Replace /dev/stdin with 0
2020-12-04 11:37:31 +00:00
l
=
set
(
map
(
int
,
open
(
0
)
)
)
Reduce 01-1
2020-12-04 19:44:01 +00:00
print
(
[
a
*
b
for
a
in
l
if
(
b
:=
2020
-
a
)
in
l
]
)
Reference in New Issue
Copy Permalink