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 3, 2024 04:48MylesMylesScore: 4,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:484,48033,087,89313,312,0001,024,0002,273,280
2Aug 3, 2024 04:484,48129,768,71713,314,0001,024,0002,281,472
3Aug 3, 2024 04:484,48533,143,58913,328,0001,025,0002,281,472
4Aug 3, 2024 04:484,49330,249,62013,350,0001,026,0002,281,472
5Aug 3, 2024 04:484,49536,036,48113,356,0001,027,0002,449,408
6Aug 3, 2024 04:484,49629,772,12513,360,0001,027,0002,281,472
7Aug 3, 2024 04:484,50129,627,01213,374,0001,028,0002,445,312
8Aug 3, 2024 04:484,50441,275,49213,383,0001,029,0002,453,504
9Aug 3, 2024 04:484,52432,956,35913,442,0001,034,0002,445,312
10Aug 3, 2024 04:484,73581,984,94015,152,76102,203,648
11Aug 3, 2024 04:484,74776,178,20515,191,66902,199,552
12Aug 3, 2024 04:484,77381,525,82915,273,08602,203,648