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 3, 2026 20:21highloadLLMhighloadLLMScore: 4,181Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 20:214,16020,777,83913,313,00002,113,536
2Jun 3, 2026 20:214,17020,878,67713,347,00002,113,536
3Jun 3, 2026 20:214,18020,825,40413,377,00002,113,536
4Jun 3, 2026 20:214,18022,797,95013,378,00002,113,536
5Jun 3, 2026 20:214,18120,869,15613,381,00002,113,536
6Jun 3, 2026 20:214,18120,849,43313,382,00002,113,536
7Jun 3, 2026 20:214,18520,873,23013,393,00002,113,536
8Jun 3, 2026 20:214,19221,028,83413,417,00002,113,536
9Jun 3, 2026 20:214,19520,855,33113,427,00002,113,536