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 listSep 25, 2021 20:39Ilya AniskovetsIlya AniskovetsScore: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2021 20:395,44741,846,89316,406,0001,025,0002,293,760
2Sep 25, 2021 20:395,45535,380,42816,431,0001,026,0002,527,232
3Sep 25, 2021 20:395,46239,649,32316,449,0001,028,0002,293,760
4Sep 25, 2021 20:395,47838,621,85917,531,00002,531,328
5Sep 25, 2021 20:395,48140,153,62516,509,0001,031,0002,527,232
6Sep 25, 2021 20:395,48344,964,33916,513,0001,032,0002,293,760
7Sep 25, 2021 20:395,48847,677,17917,560,00002,293,760
8Sep 25, 2021 20:395,50935,903,61716,592,0001,037,0002,293,760
9Sep 25, 2021 20:395,51144,471,15316,599,0001,037,0002,293,760
10Sep 25, 2021 20:395,68380,387,97918,187,00302,297,856
11Sep 25, 2021 20:395,68499,253,75118,187,89702,301,952
12Sep 25, 2021 20:395,69174,331,57618,211,14502,297,856