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 listAug 10, 2024 14:13MylesMylesScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2024 14:134,50930,758,73313,400,0001,030,0002,281,472
2Aug 10, 2024 14:134,51835,277,19213,427,0001,032,0002,445,312
3Aug 10, 2024 14:134,51932,958,78713,429,0001,033,0002,445,312
4Aug 10, 2024 14:134,52832,734,65513,454,0001,034,0002,281,472
5Aug 10, 2024 14:134,53531,100,20913,477,0001,036,0002,281,472
6Aug 10, 2024 14:134,54831,059,57313,515,0001,039,0002,281,472
7Aug 10, 2024 14:134,54837,691,78313,516,0001,039,0002,453,504
8Aug 10, 2024 14:134,55131,635,65313,524,0001,040,0002,445,312
9Aug 10, 2024 14:134,55932,329,89313,547,0001,042,0002,453,504
10Aug 10, 2024 14:134,79275,843,01215,335,53002,326,528
11Aug 10, 2024 14:134,80183,646,93015,364,15602,199,552
12Aug 10, 2024 14:134,85669,033,32515,540,62502,203,648