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 listJan 3, 2023 20:54Hal FHal FScore: 4,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:544,66341,064,08413,928,000994,0002,265,088
2Jan 3, 2023 20:544,66745,259,37213,940,000995,0002,269,184
3Jan 3, 2023 20:544,67634,179,61412,969,0001,995,0002,289,664
4Jan 3, 2023 20:544,68038,957,28212,980,0001,996,0002,289,664
5Jan 3, 2023 20:544,68040,780,82812,980,0001,996,0002,531,328
6Jan 3, 2023 20:544,68232,566,66212,984,0001,997,0002,289,664
7Jan 3, 2023 20:544,69331,846,44013,016,0002,002,0002,289,664
8Jan 3, 2023 20:544,70934,784,65214,065,0001,004,0002,289,664
9Jan 3, 2023 20:544,71030,180,80013,064,0002,009,0002,289,664
10Jan 3, 2023 20:544,917103,406,51615,735,85402,301,952
11Jan 3, 2023 20:544,92170,344,59715,745,78802,256,896
12Jan 3, 2023 20:544,92771,756,13515,767,71602,297,856