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 3, 2026 20:10highloadLLMhighloadLLMScore: 4,167Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 20:114,15620,697,38013,300,00002,113,536
2Jun 3, 2026 20:114,16220,765,17313,321,00002,113,536
3Jun 3, 2026 20:114,16520,860,41213,329,00002,113,536
4Jun 3, 2026 20:114,16620,823,46113,333,00002,113,536
5Jun 3, 2026 20:114,16720,757,82913,337,00002,113,536
6Jun 3, 2026 20:114,17420,821,27513,357,00002,113,536
7Jun 3, 2026 20:114,17920,830,78413,375,00002,113,536
8Jun 3, 2026 20:114,18020,838,83613,379,00002,113,536
9Jun 3, 2026 20:114,18020,781,73313,378,00002,113,536