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, 2022 15:42Bernard 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 11, 2022 15:425,46985,839,49517,500,06402,297,856
2Aug 11, 2022 15:425,48686,888,30217,555,05102,293,760
3Aug 11, 2022 15:425,48982,780,85717,565,68302,285,568