This website requires JavaScript.
Explore
Help
Sign In
setop
/
aoc2015
Watch
1
Star
0
Fork
You've already forked aoc2015
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
c1e2a28ac5
aoc2015
/
d01
/
part1.py
7 lines
84 B
Python
Raw
Blame
History
import
sys
s
=
sys
.
stdin
.
read
(
)
[
:
-
1
]
print
(
sum
(
map
(
lambda
c
:
[
-
1
,
1
]
[
c
==
'
(
'
]
,
s
)
)
)
Reference in New Issue
View Git Blame
Copy Permalink