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 27, 2021 21:29Egor SergeevEgor SergeevScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 21:295,09438,591,58916,300,00002,498,560
2May 27, 2021 21:295,09633,786,97916,307,00002,498,560
3May 27, 2021 21:295,11032,241,23016,352,00002,498,560
4May 27, 2021 21:295,11938,214,29116,382,00002,494,464
5May 27, 2021 21:295,13029,821,81616,415,00002,273,280
6May 27, 2021 21:295,13148,040,57616,418,00002,277,376
7May 27, 2021 21:295,15537,597,61416,496,00002,490,368
8May 27, 2021 21:295,15845,591,88316,506,00002,277,376
9May 27, 2021 21:295,16732,465,32016,534,00002,277,376
10May 27, 2021 21:295,39048,046,89117,248,46902,236,416
11May 27, 2021 21:295,41555,866,36217,328,10402,240,512
12May 27, 2021 21:295,41971,821,74717,340,83102,260,992