Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | Ricardo Bittencourt | Python | 126 | 50 | 76 | 2 hours ago |
2 | Sharparam | Ruby | 133 | 57 | 76 | 4 hours ago |
import
sys
,
numpy
print
(
sum
(
any
(
min
(
d
:=
numpy
.
diff
(
numpy
.
delete
(
numpy
.
loadtxt
(
line
.
split
(
)
)
,
i
)
)
)
*
max
(
d
)
>
0
and
all
(
d
*
d
<=
9
)
for
i
in
range
(
len
(
line
.
split
(
)
)
)
)
for
line
in
sys
.
stdin
)
)