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 1, 2026 15:01Victor MerckléVictor MerckléScore: 4,118Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 15:014,08121,410,32913,060,000024,576stderr
2Sep 1, 2026 15:014,10023,957,59913,123,000024,576stderr
3Sep 1, 2026 15:014,10322,390,03213,130,000024,576stderr
4Sep 1, 2026 15:014,11623,305,90313,174,000024,576stderr
5Sep 1, 2026 15:014,11821,497,78913,178,000024,576stderr
6Sep 1, 2026 15:014,11821,562,53213,178,000024,576stderr
7Sep 1, 2026 15:014,11921,562,28013,183,000024,576stderr
8Sep 1, 2026 15:014,12221,513,25813,192,000024,576stderr
9Sep 1, 2026 15:014,13021,517,76113,216,000024,576stderr