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 19, 2022 12:53Andrey TsvetkovAndrey TsvetkovScore: 5,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:535,64332,994,79416,050,0002,006,0002,486,272
2Jan 19, 2022 12:535,64437,908,02817,059,0001,003,0002,490,368
3Jan 19, 2022 12:535,64545,503,87417,062,0001,003,0002,494,464
4Jan 19, 2022 12:535,65176,881,73918,083,61602,306,048
5Jan 19, 2022 12:535,66149,375,63315,096,0003,019,0002,342,912
6Jan 19, 2022 12:535,66248,097,88216,106,0002,013,0002,338,816
7Jan 19, 2022 12:535,66546,619,88317,121,0001,007,0002,342,912
8Jan 19, 2022 12:535,66776,605,51618,133,89302,179,072
9Jan 19, 2022 12:535,68838,470,37317,189,0001,011,0002,342,912
10Jan 19, 2022 12:535,68944,043,88216,183,0002,022,0002,490,368
11Jan 19, 2022 12:535,73336,827,92415,287,0003,057,0002,494,464
12Jan 19, 2022 12:535,81596,687,14818,608,35602,306,048