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 2, 2026 08:07Victor MerckléVictor MerckléScore: 4,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 08:074,19021,381,26913,409,00002,117,632stderr
2Jul 2, 2026 08:074,19021,363,78113,411,00002,117,632stderr
3Jul 2, 2026 08:074,19321,339,25013,420,00002,117,632stderr
4Jul 2, 2026 08:074,19621,130,45413,428,00002,117,632stderr
5Jul 2, 2026 08:074,19821,352,67113,436,00002,117,632stderr
6Jul 2, 2026 08:074,20121,338,36813,444,00002,117,632stderr
7Jul 2, 2026 08:074,20321,224,15113,450,00002,117,632stderr
8Jul 2, 2026 08:074,20921,406,57913,471,00002,117,632stderr
9Jul 2, 2026 08:074,21021,386,34913,474,00002,117,632stderr