Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | LiquidFun | Python | 146 | 88 | 58 | 10 months ago |
2 | anonymous | Kotlin | 227 | 123 | 104 | 11 months ago |
3 | Mustafa Furkan Kaptan | Python | 313 | 170 | 143 | 11 months ago |
4 | Valentin Slawicek | Kotlin | 404 | 221 | 183 | 11 months ago |
import
re
s
=
0
for
i
,
line
in
enumerate
(
open
(
0
)
,
1
)
:
r
,
g
,
b
=
[
max
(
map
(
int
,
re
.
findall
(
f
r
"
(
\
d
+
)
{
c
}
"
,
line
)
)
)
for
c
in
"
r
g
b
"
]
s
+=
(
max
(
r
+
2
,
g
+
1
,
b
)
<
15
)
*
i
print
(
s
)