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 16, 2021 22:35Yuriy LyfenkoYuriy LyfenkoScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:355,3673,902,872,42116,165,0001,010,0002,260,992
2May 16, 2021 22:355,3744,422,194,01413,376,0003,821,0002,523,136
3May 16, 2021 22:355,3762,581,834,44516,191,0001,011,0002,523,136
4May 16, 2021 22:355,3872,190,603,13716,225,0001,014,0002,260,992
5May 16, 2021 22:355,3942,361,113,74214,384,0002,876,0002,519,040
6May 16, 2021 22:355,4014,906,745,56716,268,0001,016,0002,519,040
7May 16, 2021 22:355,4044,373,814,35616,276,0001,017,0002,523,136
8May 16, 2021 22:355,4093,323,790,68916,348,000961,0002,260,992
9May 16, 2021 22:355,4231,879,107,40116,391,000964,0002,523,136
10May 16, 2021 22:355,6013,179,576,90417,922,56802,285,568
11May 16, 2021 22:355,6123,662,519,34817,957,05802,285,568
12May 16, 2021 22:355,6163,075,670,03017,969,88202,281,472