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 11, 2021 17:17Yuriy LyfenkoYuriy LyfenkoScore: 5,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:175,58943,036,78516,891,000993,0002,375,680
2May 11, 2021 17:175,60038,047,08516,925,000995,0002,519,040
3May 11, 2021 17:175,60346,384,81314,942,0002,988,0002,392,064
4May 11, 2021 17:175,60444,872,42115,940,0001,992,0002,383,872
5May 11, 2021 17:175,60743,521,83916,947,000996,0002,392,064
6May 11, 2021 17:175,61243,892,17515,962,0001,995,0002,519,040
7May 11, 2021 17:175,63343,105,34516,022,0002,002,0002,519,040
8May 11, 2021 17:175,64543,852,51416,056,0002,007,0002,519,040
9May 11, 2021 17:175,66037,566,15816,101,0002,012,0002,519,040
10May 11, 2021 17:175,80268,587,83318,567,79002,277,376
11May 11, 2021 17:175,82894,270,23018,649,20102,281,472
12May 11, 2021 17:175,82867,576,01918,649,93502,273,280