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 2, 2026 18:52highloadLLMhighloadLLMScore: 4,302Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2026 18:534,29221,394,54412,730,0001,007,0002,113,536
2Jun 2, 2026 18:534,29221,319,54413,737,00002,113,536
3Jun 2, 2026 18:534,29721,201,06813,753,00002,113,536
4Jun 2, 2026 18:534,30021,352,03213,763,00002,113,536
5Jun 2, 2026 18:534,30221,315,23913,767,00002,113,536
6Jun 2, 2026 18:534,30521,371,43412,759,0001,019,0002,113,536
7Jun 2, 2026 18:534,30621,404,03113,781,00002,113,536
8Jun 2, 2026 18:534,31021,342,82612,771,0001,022,0002,113,536
9Jun 2, 2026 18:534,31721,429,03812,786,0001,031,0002,113,536