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 2, 2023 17:24Hal FHal FScore: 4,870Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:244,81832,491,26515,418,00002,289,664
2Jan 2, 2023 17:244,83338,108,58914,436,0001,031,0002,289,664
3Jan 2, 2023 17:244,83432,787,96014,438,0001,031,0002,289,664
4Jan 2, 2023 17:244,83838,031,65414,448,0001,032,0002,392,064
5Jan 2, 2023 17:244,85331,840,11714,496,0001,035,0002,289,664
6Jan 2, 2023 17:244,86934,677,19914,544,0001,038,0002,277,376
7Jan 2, 2023 17:244,87033,076,09214,546,0001,039,0002,273,280
8Jan 2, 2023 17:244,88149,612,13414,579,0001,041,0002,281,472
9Jan 2, 2023 17:244,89944,441,03814,632,0001,045,0002,289,664
10Jan 2, 2023 17:245,52488,389,31217,677,97402,297,856
11Jan 2, 2023 17:245,56192,382,95817,796,35102,301,952
12Jan 2, 2023 17:245,58382,083,17217,865,18402,301,952