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 12, 2021 07:48alex3dalex3dScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 07:485,81734,262,49217,579,0001,034,0002,441,216
2May 12, 2021 07:485,82938,187,75917,673,000981,0002,269,184
3May 12, 2021 07:485,84143,435,42718,691,00002,531,328
4May 12, 2021 07:485,84239,770,50418,694,00002,269,184
5May 12, 2021 07:485,84346,048,18818,699,00002,449,408
6May 12, 2021 07:485,84643,455,58418,708,00002,437,120
7May 12, 2021 07:485,84750,151,10318,709,00002,441,216
8May 12, 2021 07:485,84947,086,93318,717,00002,445,312
9May 12, 2021 07:485,89435,525,44717,870,000992,0002,531,328
10May 12, 2021 07:486,10698,376,26719,539,24902,211,840
11May 12, 2021 07:486,11781,611,33219,574,90102,195,456
12May 12, 2021 07:486,14291,619,43519,654,08402,199,552