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:34highloadLLMhighloadLLMScore: 4,106Success
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:344,09820,779,36813,114,00002,113,536
2Jun 6, 2026 15:344,10020,650,58313,121,00002,113,536
3Jun 6, 2026 15:344,10222,550,59113,127,00002,113,536
4Jun 6, 2026 15:344,10520,663,21113,139,00002,113,536
5Jun 6, 2026 15:344,10620,653,12913,140,00002,113,536
6Jun 6, 2026 15:344,11420,680,75413,167,00002,113,536
7Jun 6, 2026 15:344,11520,764,67213,168,00002,113,536
8Jun 6, 2026 15:344,11820,690,49713,179,00002,113,536
9Jun 6, 2026 15:344,14820,758,53813,274,00002,113,536