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 27, 2021 17:07Yuriy LyfenkoYuriy LyfenkoScore: 5,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:075,03633,638,22514,101,0002,014,0002,392,064
2May 27, 2021 17:075,04335,869,17814,119,0002,017,0002,265,088
3May 27, 2021 17:075,04543,531,03814,126,0002,018,0002,396,160
4May 27, 2021 17:075,04640,696,75814,129,0002,018,0002,379,776
5May 27, 2021 17:075,04745,804,74514,132,0002,018,0002,265,088
6May 27, 2021 17:075,05938,191,25714,165,0002,023,0002,265,088
7May 27, 2021 17:075,06944,949,22415,208,0001,013,0002,265,088
8May 27, 2021 17:075,07332,264,27516,234,00002,400,256
9May 27, 2021 17:075,08548,698,50515,255,0001,017,0002,265,088
10May 27, 2021 17:075,24356,276,93816,776,12702,273,280
11May 27, 2021 17:075,26171,479,68016,835,05302,273,280
12May 27, 2021 17:075,27468,029,06816,876,71402,285,568