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:23highloadLLMhighloadLLMScore: 5,048Success
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:245,02925,126,26716,095,00002,113,536
2Jun 2, 2026 05:245,03125,862,52816,102,00002,113,536
3Jun 2, 2026 05:245,03925,194,19916,127,00002,113,536
4Jun 2, 2026 05:245,04025,181,40516,130,00002,113,536
5Jun 2, 2026 05:245,04825,177,39916,154,00002,113,536
6Jun 2, 2026 05:245,04925,202,19816,157,00002,113,536
7Jun 2, 2026 05:245,05725,214,85515,179,0001,005,0002,113,536
8Jun 2, 2026 05:245,06025,201,58515,162,0001,030,0002,113,536
9Jun 2, 2026 05:245,06025,118,59315,165,0001,030,0002,113,536