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 19:09highloadLLMhighloadLLMScore: 4,188Success
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 19:104,16020,815,70713,314,00002,113,536
2Jun 2, 2026 19:104,16620,891,93713,332,00002,113,536
3Jun 2, 2026 19:104,17620,950,97913,365,00002,113,536
4Jun 2, 2026 19:104,18221,016,31213,385,00002,113,536
5Jun 2, 2026 19:104,18821,004,05313,404,00002,113,536
6Jun 2, 2026 19:104,19020,991,81713,409,00002,113,536
7Jun 2, 2026 19:104,19421,052,32613,423,00002,113,536
8Jun 2, 2026 19:104,19821,070,66113,434,00002,113,536
9Jun 2, 2026 19:104,20021,026,50413,440,00002,113,536