Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
---|---|---|---|---|---|---|
1 | dbasden | C | 10088 | 88 | - | 26 days ago |
#include
<stdio.h>
long
total
;
int
i
,
n
;
int
main
(
)
{
while
(
scanf
(
"
%
u
"
,
&
n
)
==
1
)
{
for
(
i
=
0
;
i
<
2000
;
++
i
)
{
n
=
(
n
^
(
n
<<
6
)
)
&
0xffffff
;
n
^=
n
>>
5
;
n
=
(
n
^
(
n
<<
11
)
)
&
0xffffff
;
}
total
+=
n
;
}
printf
(
"
%
l
d
"
,
total
)
;
}