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:08highloadLLMhighloadLLMScore: 4,182Success
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:084,17320,930,83613,356,00002,113,536
2Jun 3, 2026 20:084,17520,973,03613,363,00002,113,536
3Jun 3, 2026 20:084,17621,034,56713,364,00002,113,536
4Jun 3, 2026 20:084,17725,551,27113,369,00002,113,536
5Jun 3, 2026 20:084,18220,864,71313,384,00002,113,536
6Jun 3, 2026 20:084,18221,092,98913,385,00002,113,536
7Jun 3, 2026 20:084,19120,991,80213,413,00002,113,536
8Jun 3, 2026 20:084,19221,056,76113,417,00002,113,536
9Jun 3, 2026 20:084,19320,989,80713,418,00002,113,536