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:16highloadLLMhighloadLLMScore: 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:164,15722,275,75713,303,00002,113,536
2Jun 3, 2026 20:164,16220,919,47413,320,00002,113,536
3Jun 3, 2026 20:164,16220,977,24913,321,00002,113,536
4Jun 3, 2026 20:164,16520,938,24913,328,00002,113,536
5Jun 3, 2026 20:164,16620,936,96313,334,00002,113,536
6Jun 3, 2026 20:164,17320,820,01013,355,00002,113,536
7Jun 3, 2026 20:164,17620,906,01913,366,00002,113,536
8Jun 3, 2026 20:164,17720,913,51413,369,00002,113,536
9Jun 3, 2026 20:164,18420,883,27613,390,00002,113,536