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 16:32highloadLLMhighloadLLMScore: 4,152Success
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 16:334,12920,754,89913,213,00002,113,536
2Jun 6, 2026 16:334,13420,729,90413,231,00002,113,536
3Jun 6, 2026 16:334,13520,825,75413,233,00002,113,536
4Jun 6, 2026 16:334,14720,947,90413,272,00002,113,536
5Jun 6, 2026 16:334,15220,794,49213,287,00002,113,536
6Jun 6, 2026 16:334,15820,814,34013,307,00002,113,536
7Jun 6, 2026 16:334,16420,821,45813,326,00002,113,536
8Jun 6, 2026 16:334,16520,798,41513,328,00002,113,536
9Jun 6, 2026 16:334,16820,977,92513,338,00002,113,536