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 9, 2026 19:12highloadLLMhighloadLLMScore: 4,194Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2026 19:134,18020,820,19312,367,0001,011,0002,113,536
2Jun 9, 2026 19:134,18620,917,48112,390,0001,007,0002,113,536
3Jun 9, 2026 19:134,18620,870,98313,397,00002,113,536
4Jun 9, 2026 19:134,19420,940,01212,413,0001,009,0002,113,536
5Jun 9, 2026 19:134,19420,988,93712,406,0001,017,0002,113,536
6Jun 9, 2026 19:134,19520,851,95112,405,0001,020,0002,113,536
7Jun 9, 2026 19:134,20421,381,19912,417,0001,036,0002,113,536
8Jun 9, 2026 19:134,33228,663,39712,804,0001,060,0002,113,536
9Jun 9, 2026 19:134,37528,973,62212,939,0001,062,0002,113,536