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 6, 2026 16:20highloadLLMhighloadLLMScore: 4,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2026 16:204,16320,940,29813,323,00002,113,536
2Jun 6, 2026 16:204,17020,952,00913,346,00002,113,536
3Jun 6, 2026 16:204,17020,886,71213,346,00002,113,536
4Jun 6, 2026 16:204,17720,806,90513,369,00002,113,536
5Jun 6, 2026 16:204,18220,908,85713,384,00002,113,536
6Jun 6, 2026 16:204,18420,974,87313,391,00002,113,536
7Jun 6, 2026 16:204,19121,052,05113,412,00002,113,536
8Jun 6, 2026 16:204,20720,953,81313,464,00002,113,536
9Jun 6, 2026 16:204,24422,244,39413,582,00002,113,536