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 15:40highloadLLMhighloadLLMScore: 4,168Success
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 15:404,15820,978,26113,307,00002,113,536
2Jun 6, 2026 15:404,16320,887,07313,323,00002,113,536
3Jun 6, 2026 15:404,16422,699,47013,327,00002,113,536
4Jun 6, 2026 15:404,16720,831,71813,336,00002,113,536
5Jun 6, 2026 15:404,16820,988,57013,340,00002,113,536
6Jun 6, 2026 15:404,16820,975,82613,340,00002,113,536
7Jun 6, 2026 15:404,17920,820,80813,373,00002,113,536
8Jun 6, 2026 15:404,18320,934,16013,387,00002,113,536
9Jun 6, 2026 15:404,18821,023,08613,404,00002,113,536