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:12highloadLLMhighloadLLMScore: 4,180Success
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:124,16520,916,61913,329,00002,113,536
2Jun 3, 2026 20:124,16820,933,62913,339,00002,113,536
3Jun 3, 2026 20:124,16920,975,24313,342,00002,113,536
4Jun 3, 2026 20:124,17721,069,55913,369,00002,113,536
5Jun 3, 2026 20:124,18020,980,71413,376,00002,113,536
6Jun 3, 2026 20:124,18020,957,27613,379,00002,113,536
7Jun 3, 2026 20:124,19120,880,87013,414,00002,113,536
8Jun 3, 2026 20:124,19521,006,90713,424,00002,113,536
9Jun 3, 2026 20:124,20621,020,25113,460,00002,113,536