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 listJan 3, 2023 18:43Hal FHal FScore: 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
1Jan 3, 2023 18:435,01743,280,75515,051,0001,003,0002,289,664
2Jan 3, 2023 18:435,03431,495,87515,103,0001,006,0002,265,088
3Jan 3, 2023 18:435,03744,097,96815,111,0001,007,0002,289,664
4Jan 3, 2023 18:435,04538,033,85314,127,0002,018,0002,277,376
5Jan 3, 2023 18:435,04840,057,05714,134,0002,019,0002,289,664
6Jan 3, 2023 18:435,05339,394,48914,150,0002,021,0002,289,664
7Jan 3, 2023 18:435,05544,758,65415,165,0001,011,0002,289,664
8Jan 3, 2023 18:435,07340,517,49414,203,0002,029,0002,273,280
9Jan 3, 2023 18:435,10434,593,45415,313,0001,020,0002,273,280
10Jan 3, 2023 18:435,246103,892,45016,787,48902,301,952
11Jan 3, 2023 18:435,28979,485,21716,925,08502,289,664
12Jan 3, 2023 18:435,30186,277,61516,964,00202,293,760