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 12:05highloadLLMhighloadLLMScore: 4,350Success
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 12:064,32123,129,09013,830,00002,113,536
2Jun 2, 2026 12:064,33221,312,20813,864,00002,113,536
3Jun 2, 2026 12:064,33421,428,32213,869,00002,113,536
4Jun 2, 2026 12:064,34821,356,13013,916,00002,113,536
5Jun 2, 2026 12:064,35021,497,72013,922,00002,113,536
6Jun 2, 2026 12:064,35021,502,32713,920,00002,113,536
7Jun 2, 2026 12:064,35421,391,85513,935,00002,113,536
8Jun 2, 2026 12:064,36821,460,87213,979,00002,113,536
9Jun 2, 2026 12:064,36921,457,58113,982,00002,113,536