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 8, 2026 07:28Victor MerckléVictor MerckléScore: 4,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 07:284,09721,208,34813,113,000024,576stderr
2Jul 8, 2026 07:284,12221,198,41013,191,000024,576stderr
3Jul 8, 2026 07:284,17321,707,55913,354,000024,576stderr
4Jul 8, 2026 07:284,17321,467,74613,355,000024,576stderr
5Jul 8, 2026 07:284,19022,000,30113,411,000024,576stderr
6Jul 8, 2026 07:284,22221,544,91113,511,000024,576stderr
7Jul 8, 2026 07:284,22821,579,73913,530,000024,576stderr
8Jul 8, 2026 07:284,23121,542,68313,541,000024,576stderr
9Jul 8, 2026 07:284,27121,772,35413,670,000024,576stderr