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:05highloadLLMhighloadLLMScore: 4,186Success
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:064,17222,225,50113,353,00002,113,536
2Jun 6, 2026 16:064,17720,925,88513,367,00002,113,536
3Jun 6, 2026 16:064,18320,871,62413,387,00002,113,536
4Jun 6, 2026 16:064,18420,828,70213,389,00002,113,536
5Jun 6, 2026 16:064,18622,260,11513,398,00002,113,536
6Jun 6, 2026 16:064,19021,021,21313,411,00002,113,536
7Jun 6, 2026 16:064,19520,894,78013,427,00002,113,536
8Jun 6, 2026 16:064,20420,913,02813,454,00002,113,536
9Jun 6, 2026 16:064,20821,033,08913,468,00002,113,536