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 listOct 26, 2026 23:14ii14ii14Score: 4,840Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 26, 2026 23:144,81126,268,76514,126,0001,270,0002,113,536
2Oct 26, 2026 23:144,81826,376,60314,333,0001,087,0002,113,536
3Oct 26, 2026 23:144,82226,413,84814,345,0001,086,0002,113,536
4Oct 26, 2026 23:144,82526,311,73014,352,0001,088,0002,113,536
5Oct 26, 2026 23:144,84026,458,02914,406,0001,085,0002,113,536
6Oct 26, 2026 23:144,86126,465,40114,460,0001,096,0002,113,536
7Oct 26, 2026 23:144,86926,494,83014,487,0001,095,0002,113,536
8Oct 26, 2026 23:144,88628,002,76314,531,0001,105,0002,113,536
9Oct 26, 2026 23:144,89927,187,05114,581,0001,097,0002,113,536