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 listJun 3, 2021 20:50Yuriy LyfenkoYuriy LyfenkoScore: 5,247Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 20:505,178545,063,40115,535,0001,035,0002,293,760
2Jun 3, 2021 20:505,187542,315,50915,561,0001,037,0002,285,568
3Jun 3, 2021 20:505,193544,864,52215,581,0001,038,0002,289,664
4Jun 3, 2021 20:505,241543,086,18315,785,000986,0002,293,760
5Jun 3, 2021 20:505,244544,919,88414,807,0001,974,0002,285,568
6Jun 3, 2021 20:505,247540,423,29515,802,000987,0002,293,760
7Jun 3, 2021 20:505,247547,179,75115,804,000987,0002,285,568
8Jun 3, 2021 20:505,248542,944,07714,819,0001,975,0002,293,760
9Jun 3, 2021 20:505,253541,282,55315,823,000988,0002,285,568
10Jun 3, 2021 20:505,342583,351,36717,093,82302,183,168
11Jun 3, 2021 20:505,344587,283,85417,100,76402,260,992
12Jun 3, 2021 20:505,372578,918,25117,190,09502,256,896