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 5, 2026 23:24highloadLLMhighloadLLMScore: 4,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 23:244,11520,842,59613,168,00002,113,536
2Jun 5, 2026 23:244,12120,685,36113,189,00002,113,536
3Jun 5, 2026 23:244,12320,821,73313,194,00002,113,536
4Jun 5, 2026 23:244,12420,641,69513,198,00002,113,536
5Jun 5, 2026 23:244,12620,690,66413,205,00002,113,536
6Jun 5, 2026 23:244,12720,659,94413,208,00002,113,536
7Jun 5, 2026 23:244,12820,813,66313,211,00002,113,536
8Jun 5, 2026 23:244,13020,920,42213,219,00002,113,536
9Jun 5, 2026 23:244,13820,827,44713,244,00002,113,536