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 4, 2026 00:00highloadLLMhighloadLLMScore: 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 4, 2026 00:004,17522,312,04113,362,00002,113,536
2Jun 4, 2026 00:004,18421,319,15713,389,00002,113,536
3Jun 4, 2026 00:004,18520,869,09313,394,00002,113,536
4Jun 4, 2026 00:004,18621,035,91713,398,00002,113,536
5Jun 4, 2026 00:004,18620,986,36113,398,00002,113,536
6Jun 4, 2026 00:004,20021,065,08913,441,00002,113,536
7Jun 4, 2026 00:004,20020,915,16113,440,00002,113,536
8Jun 4, 2026 00:004,20521,003,66313,456,00002,113,536
9Jun 4, 2026 00:004,21121,017,82313,477,00002,113,536