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 listMay 14, 2021 20:49alex3dalex3dScore: 4,827Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 20:494,78538,129,00915,312,00002,502,656
2May 14, 2021 20:494,79132,784,44715,330,00002,519,040
3May 14, 2021 20:494,79831,239,11114,329,0001,023,0002,396,160
4May 14, 2021 20:494,80333,193,28613,322,0002,049,0002,396,160
5May 14, 2021 20:494,80741,145,69214,356,0001,025,0002,519,040
6May 14, 2021 20:494,82131,196,47515,427,00002,396,160
7May 14, 2021 20:494,82741,859,24414,417,0001,029,0002,519,040
8May 14, 2021 20:494,83842,653,34914,451,0001,032,0002,519,040
9May 14, 2021 20:494,84642,165,79914,475,0001,033,0002,392,064
10May 14, 2021 20:495,04179,003,45616,131,82002,281,472
11May 14, 2021 20:495,09884,780,09116,314,18602,277,376
12May 14, 2021 20:495,13490,778,51916,427,74002,281,472