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 16, 2021 13:36Yuriy LyfenkoYuriy LyfenkoScore: 5,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:365,42634,834,83217,362,00002,519,040
2May 16, 2021 13:365,43041,961,34717,375,00002,523,136
3May 16, 2021 13:365,43537,797,51616,368,0001,023,0002,396,160
4May 16, 2021 13:365,43744,193,38315,352,0002,047,0002,519,040
5May 16, 2021 13:365,43840,508,48716,378,0001,023,0002,519,040
6May 16, 2021 13:365,44040,009,78317,408,00002,519,040
7May 16, 2021 13:365,44838,036,18116,409,0001,025,0002,510,848
8May 16, 2021 13:365,46845,614,78417,498,00002,392,064
9May 16, 2021 13:365,49244,912,39914,472,0003,101,0002,392,064
10May 16, 2021 13:365,71183,453,34918,276,35902,277,376
11May 16, 2021 13:365,71290,690,51418,277,09102,281,472
12May 16, 2021 13:365,72791,842,78918,326,83202,281,472