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:01highloadLLMhighloadLLMScore: 4,260Success
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:014,25521,155,72113,619,00002,113,536
2Jun 6, 2026 16:014,25621,071,44113,621,00002,113,536
3Jun 6, 2026 16:014,25721,211,79713,623,00002,113,536
4Jun 6, 2026 16:014,25921,100,47713,630,00002,113,536
5Jun 6, 2026 16:014,26021,223,03013,633,00002,113,536
6Jun 6, 2026 16:014,26721,125,24613,656,00002,113,536
7Jun 6, 2026 16:014,27221,311,02213,673,00002,113,536
8Jun 6, 2026 16:014,28021,228,92913,696,00002,113,536
9Jun 6, 2026 16:014,28221,159,56513,704,00002,113,536