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 29, 2022 17:50Bernard TeoBernard TeoScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 17:525,47780,350,95917,527,98302,301,952
2Aug 29, 2022 17:505,48063,943,02417,535,24002,289,664
3Aug 29, 2022 17:505,48380,283,39917,544,14302,293,760
4Aug 29, 2022 17:525,48691,392,46517,554,30102,260,992
5Aug 29, 2022 17:505,48872,213,50117,561,11002,289,664
6Aug 29, 2022 17:525,50095,958,02717,598,49802,285,568