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 2, 2026 20:55highloadLLMhighloadLLMScore: 4,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2026 20:564,15920,955,46413,310,00002,113,536
2Jun 2, 2026 20:564,16320,829,90513,322,00002,113,536
3Jun 2, 2026 20:564,16720,860,05513,337,00002,113,536
4Jun 2, 2026 20:564,17022,142,93513,345,00002,113,536
5Jun 2, 2026 20:564,17320,940,23613,354,00002,113,536
6Jun 2, 2026 20:564,17820,928,30313,370,00002,113,536
7Jun 2, 2026 20:564,18120,859,54513,381,00002,113,536
8Jun 2, 2026 20:564,18120,966,28013,380,00002,113,536
9Jun 2, 2026 20:564,18520,984,77813,392,00002,113,536