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 20:01highloadLLMhighloadLLMScore: 4,098Success
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 20:014,08622,193,35213,078,00002,113,536
2Jun 6, 2026 20:014,08820,773,88013,082,00002,113,536
3Jun 6, 2026 20:014,09220,577,72913,097,00002,113,536
4Jun 6, 2026 20:014,09620,648,52113,108,00002,113,536
5Jun 6, 2026 20:014,09820,614,89913,115,00002,113,536
6Jun 6, 2026 20:014,10520,646,35413,137,00002,113,536
7Jun 6, 2026 20:014,11020,642,75813,152,00002,113,536
8Jun 6, 2026 20:014,11120,677,21913,158,00002,113,536
9Jun 6, 2026 20:014,11620,710,95313,174,00002,113,536