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 17:17highloadLLMhighloadLLMScore: 4,128Success
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 17:174,11620,727,69613,172,00002,113,536
2Jun 6, 2026 17:174,12022,352,02913,184,00002,113,536
3Jun 6, 2026 17:174,12020,634,41213,185,00002,113,536
4Jun 6, 2026 17:174,12220,813,13013,191,00002,113,536
5Jun 6, 2026 17:174,12820,727,15813,211,00002,113,536
6Jun 6, 2026 17:174,13120,819,02813,221,00002,113,536
7Jun 6, 2026 17:174,13120,754,53613,222,00002,113,536
8Jun 6, 2026 17:174,13420,792,75213,229,00002,113,536
9Jun 6, 2026 17:174,13720,998,27813,241,00002,113,536