Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 29, 2021 17:56Yuriy LyfenkoYuriy LyfenkoScore: 5,444Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:565,38539,850,27515,205,0002,027,0002,293,760
2May 29, 2021 17:565,38940,739,52916,232,0001,014,0002,293,760
3May 29, 2021 17:565,39036,779,93615,218,0002,029,0002,293,760
4May 29, 2021 17:565,40236,149,58615,253,0002,033,0002,293,760
5May 29, 2021 17:565,41141,942,68316,298,0001,018,0002,289,664
6May 29, 2021 17:565,43134,256,91315,334,0002,044,0002,293,760
7May 29, 2021 17:565,44437,830,64316,398,0001,024,0002,293,760
8May 29, 2021 17:565,46438,836,08515,428,0002,057,0002,269,184
9May 29, 2021 17:565,48137,057,67116,508,0001,031,0002,293,760
10May 29, 2021 17:565,58855,601,68817,882,20302,174,976
11May 29, 2021 17:565,60879,817,62717,946,87802,174,976
12May 29, 2021 17:565,63657,995,01218,035,15702,297,856