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 29, 2021 17:07Yuriy LyfenkoYuriy LyfenkoScore: 5,084Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:075,04532,291,40715,135,0001,009,0002,396,160
2May 29, 2021 17:075,05336,735,67614,148,0002,021,0002,281,472
3May 29, 2021 17:075,05540,100,03415,165,0001,011,0002,281,472
4May 29, 2021 17:075,05730,644,43714,159,0002,022,0002,404,352
5May 29, 2021 17:075,05738,711,45414,160,0002,022,0002,400,256
6May 29, 2021 17:075,07944,247,39614,221,0002,031,0002,281,472
7May 29, 2021 17:075,08436,877,69415,252,0001,016,0002,404,352
8May 29, 2021 17:075,09332,297,17016,297,00002,281,472
9May 29, 2021 17:075,11835,444,76815,353,0001,023,0002,408,448
10May 29, 2021 17:075,23782,084,19516,759,10802,289,664
11May 29, 2021 17:075,24271,812,63616,773,27302,281,472
12May 29, 2021 17:075,26764,524,61016,852,83402,289,664