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 3, 2026 20:14highloadLLMhighloadLLMScore: 4,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 20:144,15920,908,74913,310,00002,113,536
2Jun 3, 2026 20:144,16020,947,43513,315,00002,113,536
3Jun 3, 2026 20:144,16720,911,12413,336,00002,113,536
4Jun 3, 2026 20:144,16820,919,64013,338,00002,113,536
5Jun 3, 2026 20:144,17020,829,78713,344,00002,113,536
6Jun 3, 2026 20:144,17520,945,53813,361,00002,113,536
7Jun 3, 2026 20:144,17522,297,45613,363,00002,113,536
8Jun 3, 2026 20:144,18020,948,59213,379,00002,113,536
9Jun 3, 2026 20:144,18020,941,01613,378,00002,113,536