Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | CornerMercury | Python | 269 | 102 | 167 | 42 days ago |
2 | dbasden | C | 561 | 251 | 310 | 42 days ago |
3 | Szabolcs Dombi | Python | 10141 | 141 | - | 42 days ago |
4 | Mechazawa | JavaScript | 10206 | 206 | - | 38 days ago |
5 | Tomáš Mach | Python | 10234 | 234 | - | 42 days ago |
i
=
require
(
'
f
s
'
)
.
readFileSync
(
0
,
'
u
t
f
8
'
)
d
=
'
^
>
v
<
'
l
=
i
.
search
`
\n
`
+
1
m
=
[
-
l
,
1
,
l
,
-
1
]
f
=
'
%
'
r
=
g
=>
{
p
=
[
0
,
1
,
2
,
3
]
.
find
(
x
=>
g
.
includes
(
d
[
x
]
)
)
L
=
g
.
indexOf
(
d
[
p
]
)
z
=
g
[
m
[
p
]
+
L
]
g
[
L
]
=
d
[
(
1
+
p
)
%
4
]
return
z
<
f
?
r
(
g
)
:
!
z
||
z
==
'
\n
'
?
g
.
reduce
(
(
a
,
x
)
=>
a
+
(
x
==
f
)
,
1
)
:
(
g
[
L
]
=
f
,
g
[
m
[
p
]
+
L
]
=
d
[
p
]
,
r
(
g
)
)
}
console
.
log
(
r
(
[
...
i
]
)
)