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 14:25Hal FHal FScore: 5,510Success
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 14:255,45843,400,80317,465,00002,404,352
2Jan 2, 2023 14:255,46743,345,51417,494,00002,281,472
3Jan 2, 2023 14:255,48136,902,74316,508,0001,031,0002,277,376
4Jan 2, 2023 14:255,48233,284,56116,511,0001,031,0002,277,376
5Jan 2, 2023 14:255,48845,078,50416,528,0001,033,0002,297,856
6Jan 2, 2023 14:255,50744,576,81716,586,0001,036,0002,277,376
7Jan 2, 2023 14:255,51038,701,79116,594,0001,037,0002,293,760
8Jan 2, 2023 14:255,56645,850,84015,832,0001,979,0002,293,760
9Jan 2, 2023 14:255,58144,331,75016,867,000992,0002,531,328
10Jan 2, 2023 14:255,70481,330,07518,251,50802,293,760
11Jan 2, 2023 14:255,73475,663,99318,349,81702,297,856
12Jan 2, 2023 14:255,73782,862,86518,357,81702,297,856