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 07:01highloadLLMhighloadLLMScore: 5,053Success
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 07:025,03325,039,92516,107,00002,113,536
2Jun 2, 2026 07:025,04125,169,25316,134,00002,113,536
3Jun 2, 2026 07:025,04525,193,47715,137,0001,008,0002,113,536
4Jun 2, 2026 07:025,05225,178,78616,167,00002,113,536
5Jun 2, 2026 07:025,05326,321,83615,163,0001,009,0002,113,536
6Jun 2, 2026 07:025,05425,247,06216,175,00002,113,536
7Jun 2, 2026 07:025,05825,194,97215,179,0001,007,0002,113,536
8Jun 2, 2026 07:025,07425,269,00915,212,0001,027,0002,113,536
9Jun 2, 2026 07:025,08425,253,09715,222,0001,049,0002,113,536