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 4, 2026 18:02highloadLLMhighloadLLMScore: 4,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2026 18:024,15422,691,42113,294,00002,113,536
2Jun 4, 2026 18:024,15620,896,45113,302,00002,113,536
3Jun 4, 2026 18:024,16420,921,86813,326,00002,113,536
4Jun 4, 2026 18:024,16620,844,28913,333,00002,113,536
5Jun 4, 2026 18:024,17520,861,80613,362,00002,113,536
6Jun 4, 2026 18:024,17520,959,33613,363,00002,113,536
7Jun 4, 2026 18:024,17720,992,36013,368,00002,113,536
8Jun 4, 2026 18:024,18020,815,99413,378,00002,113,536
9Jun 4, 2026 18:024,19520,915,14113,426,00002,113,536