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 12, 2025 20:01caandocaandoScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2025 20:014,63838,612,57012,863,0001,978,0002,265,088
2Oct 12, 2025 20:014,63936,843,59213,855,000989,0002,285,568
3Oct 12, 2025 20:014,64631,757,52913,876,000991,0002,285,568
4Oct 12, 2025 20:014,64834,491,88314,873,00002,281,472
5Oct 12, 2025 20:014,64838,420,83413,884,000991,0002,285,568
6Oct 12, 2025 20:014,65342,676,57612,904,0001,985,0002,285,568
7Oct 12, 2025 20:014,66634,509,20412,940,0001,990,0002,285,568
8Oct 12, 2025 20:014,66632,012,18512,941,0001,991,0002,285,568
9Oct 12, 2025 20:014,70731,406,97613,053,0002,008,0002,269,184