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 15, 2023 06:22AmirAmirScore: 5,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:225,77739,438,43917,459,0001,027,0002,383,872
2May 15, 2023 06:225,77840,831,00817,462,0001,027,0002,281,472
3May 15, 2023 06:225,78341,832,55818,504,00002,289,664
4May 15, 2023 06:225,78739,724,92217,491,0001,028,0002,289,664
5May 15, 2023 06:225,80937,990,50817,556,0001,032,0002,289,664
6May 15, 2023 06:225,81045,403,21617,560,0001,032,0002,289,664
7May 15, 2023 06:225,81846,525,14617,585,0001,034,0002,289,664
8May 15, 2023 06:225,83344,192,74317,630,0001,037,0002,289,664
9May 15, 2023 06:225,83350,923,74817,630,0001,037,0002,519,040
10May 15, 2023 06:225,926102,897,86618,964,33802,297,856
11May 15, 2023 06:225,984100,802,25619,148,97102,301,952
12May 15, 2023 06:226,070112,458,17119,422,82402,293,760