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 11:05Victor MerckléVictor MerckléScore: 4,079Success
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 11:054,06321,355,24813,002,000024,576stderr
2Sep 1, 2026 11:054,06621,228,67713,013,000024,576stderr
3Sep 1, 2026 11:054,06721,142,93513,015,000024,576stderr
4Sep 1, 2026 11:054,07521,347,00313,042,000024,576stderr
5Sep 1, 2026 11:054,07921,403,18913,053,000024,576stderr
6Sep 1, 2026 11:054,14121,548,28813,254,000024,576stderr
7Sep 1, 2026 11:054,15823,142,21213,308,000024,576stderr
8Sep 1, 2026 11:054,15821,565,31513,306,000024,576stderr
9Sep 1, 2026 11:054,17221,597,25413,351,000024,576stderr