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 05:29highloadLLMhighloadLLMScore: 5,016Success
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 05:305,00025,030,95516,000,00002,113,536
2Jun 2, 2026 05:305,00925,100,39616,030,00002,113,536
3Jun 2, 2026 05:305,01426,527,18415,004,0001,042,0002,113,536
4Jun 2, 2026 05:305,01525,101,11715,027,0001,023,0002,113,536
5Jun 2, 2026 05:305,01625,071,07416,054,00002,113,536
6Jun 2, 2026 05:305,03125,074,57415,083,0001,017,0002,113,536
7Jun 2, 2026 05:305,03825,114,24315,095,0001,027,0002,113,536
8Jun 2, 2026 05:305,04425,110,38215,119,0001,022,0002,113,536
9Jun 2, 2026 05:305,07325,285,90915,183,0001,053,0002,113,536