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 11, 2024 18:59vahookvahookScore: 4,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 18:594,47830,454,81813,307,0001,023,0002,400,256
2Aug 11, 2024 18:594,47933,208,83513,309,0001,023,0002,404,352
3Aug 11, 2024 18:594,48531,751,34614,351,00002,281,472
4Aug 11, 2024 18:594,48549,087,87613,327,0001,025,0002,396,160
5Aug 11, 2024 18:594,48831,779,27313,336,0001,025,0002,404,352
6Aug 11, 2024 18:594,48830,237,69614,362,00002,400,256
7Aug 11, 2024 18:594,49531,891,22313,357,0001,027,0002,404,352
8Aug 11, 2024 18:594,49834,894,45814,394,00002,281,472
9Aug 11, 2024 18:594,52041,126,10513,431,0001,033,0002,408,448
10Aug 11, 2024 18:594,733117,862,96315,146,85802,289,664
11Aug 11, 2024 18:594,73780,829,18315,158,61202,297,856
12Aug 11, 2024 18:594,75269,290,64415,205,62302,297,856