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 31, 2023 10:51mmalczakmmalczakScore: 7,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2023 10:517,79787,418,93624,951,87402,285,568
2Aug 31, 2023 10:517,80590,793,40424,976,13502,289,664
3Aug 31, 2023 10:517,819102,426,86925,021,91202,293,760
4Aug 31, 2023 10:517,82181,697,38825,027,40602,293,760
5Aug 31, 2023 10:517,82595,245,93525,039,19302,293,760
6Aug 31, 2023 10:517,83095,864,81225,055,25502,281,472