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 23:06highloadLLMhighloadLLMScore: 7,275Success
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 23:067,25330,770,26413,004,00010,206,0002,113,536
2Jun 2, 2026 23:067,25530,891,19612,694,00010,525,0002,113,536
3Jun 2, 2026 23:067,25930,793,65112,709,00010,520,0002,113,536
4Jun 2, 2026 23:067,27030,889,71612,708,00010,556,0002,113,536
5Jun 2, 2026 23:067,27530,750,51812,751,00010,530,0002,117,632
6Jun 2, 2026 23:067,29430,959,18912,632,00010,711,0002,113,536
7Jun 2, 2026 23:067,30430,983,12312,679,00010,694,0002,113,536
8Jun 2, 2026 23:067,30530,938,95012,716,00010,660,0002,113,536
9Jun 2, 2026 23:067,33430,999,46812,740,00010,731,0002,113,536