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 listSep 2, 2026 14:45Victor MerckléVictor MerckléScore: 4,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 14:474,06621,399,73713,013,000024,576stderr
2Sep 2, 2026 14:474,12221,318,10613,191,000024,576stderr
3Sep 2, 2026 14:474,17021,474,62513,347,000024,576stderr
4Sep 2, 2026 14:474,17221,678,05713,351,000024,576stderr
5Sep 2, 2026 14:474,17421,730,33413,358,000024,576stderr
6Sep 2, 2026 14:474,18621,760,26213,397,000024,576stderr
7Sep 2, 2026 14:474,19021,850,18713,409,000024,576stderr
8Sep 2, 2026 14:474,19121,735,70313,414,000024,576stderr
9Sep 2, 2026 14:474,20121,784,22413,444,000024,576stderr