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 listJul 12, 2026 18:48IlyaIlyaScore: 8,927Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2026 18:488,87237,866,11919,172,0009,221,0002,113,536
2Jul 12, 2026 18:488,87737,858,80919,093,0009,316,0002,113,536
3Jul 12, 2026 18:488,87837,879,42618,647,0009,764,0002,113,536
4Jul 12, 2026 18:488,88937,948,61518,614,0009,831,0002,113,536
5Jul 12, 2026 18:488,92737,982,87418,638,0009,931,0002,113,536
6Jul 12, 2026 18:488,93938,083,16819,134,0009,471,0002,113,536
7Jul 12, 2026 18:488,95039,281,18419,167,0009,474,0002,113,536
8Jul 12, 2026 18:488,95338,132,27918,654,0009,996,0002,113,536
9Jul 12, 2026 18:489,06738,586,55218,587,00010,429,0002,113,536