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 listMar 25, 2025 14:37parastromparastromScore: 5,762Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 14:375,73643,465,97718,355,00002,367,488
2Mar 25, 2025 14:375,75040,122,54517,379,0001,022,0002,289,664
3Mar 25, 2025 14:375,76140,457,29818,435,00002,363,392
4Mar 25, 2025 14:375,76141,466,43317,411,0001,024,0002,371,584
5Mar 25, 2025 14:375,76236,293,42917,414,0001,024,0002,371,584
6Mar 25, 2025 14:375,76241,863,44217,414,0001,024,0002,375,680
7Mar 25, 2025 14:375,77040,400,36417,440,0001,025,0002,363,392
8Mar 25, 2025 14:375,78743,408,27117,490,0001,028,0002,371,584
9Mar 25, 2025 14:375,81844,691,14717,584,0001,034,0002,285,568