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 2, 2026 18:09highloadLLMhighloadLLMScore: 4,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2026 18:094,16320,879,27413,324,00002,113,536
2Jun 2, 2026 18:094,16620,862,21613,332,00002,113,536
3Jun 2, 2026 18:094,16822,259,85513,339,00002,113,536
4Jun 2, 2026 18:094,16920,773,65413,342,00002,113,536
5Jun 2, 2026 18:094,17020,828,58713,344,00002,113,536
6Jun 2, 2026 18:094,17220,915,54613,351,00002,113,536
7Jun 2, 2026 18:094,17620,968,67213,364,00002,113,536
8Jun 2, 2026 18:094,17820,963,58313,371,00002,113,536
9Jun 2, 2026 18:094,18020,882,52513,377,00002,113,536