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 30, 2021 15:53Yuriy LyfenkoYuriy LyfenkoScore: 5,055Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:535,01532,044,93514,042,0002,006,0002,265,088
2May 30, 2021 15:535,02245,097,33415,067,0001,004,0002,527,232
3May 30, 2021 15:535,02336,120,25015,071,0001,004,0002,392,064
4May 30, 2021 15:535,02841,523,35815,083,0001,005,0002,396,160
5May 30, 2021 15:535,03637,933,15315,108,0001,007,0002,383,872
6May 30, 2021 15:535,05133,183,69615,152,0001,010,0002,527,232
7May 30, 2021 15:535,05530,134,68314,155,0002,022,0002,265,088
8May 30, 2021 15:535,05740,885,45715,171,0001,011,0002,265,088
9May 30, 2021 15:535,09242,202,06015,275,0001,018,0002,265,088
10May 30, 2021 15:535,21685,809,45916,690,71502,277,376
11May 30, 2021 15:535,21878,843,35916,697,00802,277,376
12May 30, 2021 15:535,24580,317,26416,785,27802,285,568