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 14:27highloadLLMhighloadLLMScore: 36,055Success
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 14:2735,687121,885,96412,956,000101,243,0002,113,536
2Jun 2, 2026 14:2735,745121,964,26312,984,000101,401,0002,113,536
3Jun 2, 2026 14:2735,858122,370,97712,980,000101,766,0002,113,536
4Jun 2, 2026 14:2736,024122,711,45013,017,000102,261,0002,113,536
5Jun 2, 2026 14:2736,055122,957,70913,003,000102,373,0002,113,536
6Jun 2, 2026 14:2736,150123,355,54612,966,000102,716,0002,113,536
7Jun 2, 2026 14:2736,424124,151,32413,346,000103,213,0002,113,536
8Jun 2, 2026 14:2736,434124,258,13113,389,000103,201,0002,113,536
9Jun 2, 2026 14:2736,685124,996,25313,258,000104,136,0002,113,536