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 15:02highloadLLMhighloadLLMScore: 4,234Success
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 15:024,21021,041,28713,475,00002,113,536
2Jun 2, 2026 15:024,21521,055,04713,489,00002,113,536
3Jun 2, 2026 15:024,22021,126,92013,507,00002,113,536
4Jun 2, 2026 15:024,22021,128,76213,506,00002,113,536
5Jun 2, 2026 15:024,23421,236,78113,549,00002,113,536
6Jun 2, 2026 15:024,23521,178,50313,554,00002,113,536
7Jun 2, 2026 15:024,23521,134,40713,555,00002,113,536
8Jun 2, 2026 15:024,23820,971,57313,562,00002,113,536
9Jun 2, 2026 15:024,58629,355,83313,668,0001,008,0002,113,536