Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | CornerMercury | Python | 194 | 97 | 97 | 41 days ago |
2 | dbasden | Python | 257 | 127 | 130 | 43 days ago |
3 | Szabolcs Dombi | Python | 263 | 105 | 158 | 43 days ago |
4 | Mechazawa | JavaScript | 10121 | 121 | - | 43 days ago |
import
sys
,
re
r
,
d
=
sys
.
stdin
.
read
(
)
.
split
(
'
\n
\n
'
)
p
=
re
.
sub
(
r
'
(
.
.
)
\
|
(
.
.
)
\
n
'
,
r
'
\
2
.
+
\
1
|
'
,
r
+
'
\n
'
)
print
(
sum
(
int
(
l
.
split
(
'
,
'
)
[
len
(
l
)
//
6
]
)
for
l
in
d
.
splitlines
(
)
if
not
re
.
search
(
p
,
l
)
)
)