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:24highloadLLMhighloadLLMScore: 4,166Success
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:244,15820,879,77413,306,00002,113,536
2Jun 3, 2026 20:244,16020,916,12613,315,00002,113,536
3Jun 3, 2026 20:244,16120,764,44713,316,00002,113,536
4Jun 3, 2026 20:244,16320,868,87613,322,00002,113,536
5Jun 3, 2026 20:244,16620,794,26413,334,00002,113,536
6Jun 3, 2026 20:244,17020,992,38613,345,00002,113,536
7Jun 3, 2026 20:244,17320,907,82713,356,00002,113,536
8Jun 3, 2026 20:244,18021,016,21013,379,00002,113,536
9Jun 3, 2026 20:244,18120,875,44413,381,00002,113,536