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 listJul 13, 2021 19:27Andrey TsvetkovAndrey TsvetkovScore: 5,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:275,72245,768,51616,275,0002,034,0002,334,720
2Jul 13, 2021 19:275,72539,507,61916,285,0002,035,0002,318,336
3Jul 13, 2021 19:275,72636,078,40416,287,0002,035,0002,334,720
4Jul 13, 2021 19:275,73742,896,25915,298,0003,059,0002,334,720
5Jul 13, 2021 19:275,73880,481,61518,360,28902,236,416
6Jul 13, 2021 19:275,74232,135,52315,312,0003,062,0002,334,720
7Jul 13, 2021 19:275,74243,122,47715,312,0003,062,0002,334,720
8Jul 13, 2021 19:275,74447,323,50215,319,0003,063,0002,334,720
9Jul 13, 2021 19:275,76239,088,43015,365,0003,073,0002,334,720
10Jul 13, 2021 19:275,76540,666,60015,374,0003,074,0002,342,912
11Jul 13, 2021 19:275,85685,923,61018,740,66202,232,320
12Jul 13, 2021 19:276,38598,742,27620,430,97802,236,416