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 listOct 5, 2026 12:01FrederickFrederickScore: 4,227Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 12:014,19422,178,71213,422,00002,113,536
2Oct 5, 2026 12:014,20822,135,11113,466,00002,113,536
3Oct 5, 2026 12:014,21023,700,40213,474,00002,113,536
4Oct 5, 2026 12:014,21622,319,23213,492,00002,113,536
5Oct 5, 2026 12:014,22722,393,17113,527,00002,113,536
6Oct 5, 2026 12:014,22822,286,10413,530,00002,113,536
7Oct 5, 2026 12:014,23022,878,02513,538,00002,113,536
8Oct 5, 2026 12:014,23022,452,61113,536,00002,113,536
9Oct 5, 2026 12:014,23922,411,80813,567,00002,113,536