Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | Python | 146 | 88 | 58 | 8 months ago | |
2 | Kotlin | 227 | 123 | 104 | 9 months ago | |
3 | Python | 313 | 170 | 143 | 8 months ago | |
4 | Kotlin | 404 | 221 | 183 | 8 months ago |
import
math
import
re
print
(
sum
(
math
.
prod
(
max
(
map
(
int
,
re
.
findall
(
f
r
"
(
\
d
+
)
{
c
}
"
,
line
)
)
)
for
c
in
"
r
g
b
"
)
for
line
in
open
(
0
)
)
)