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 15:18Victor MerckléVictor MerckléScore: 4,086Success
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 15:184,01421,014,14912,845,000024,576stderr
2Sep 2, 2026 15:184,02021,170,62812,865,000024,576stderr
3Sep 2, 2026 15:184,04221,116,30712,936,000024,576stderr
4Sep 2, 2026 15:184,08322,716,10413,067,000024,576stderr
5Sep 2, 2026 15:184,08621,257,99313,076,000024,576stderr
6Sep 2, 2026 15:184,09121,389,58813,094,000024,576stderr
7Sep 2, 2026 15:184,09321,319,43813,098,000024,576stderr
8Sep 2, 2026 15:184,10121,442,25213,124,000024,576stderr
9Sep 2, 2026 15:184,11021,490,71913,154,000024,576stderr