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 14, 2026 16:44Victor MerckléVictor MerckléScore: 4,114Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 16:444,01621,556,51012,854,000024,576stderr
2Sep 14, 2026 16:444,05121,608,16812,966,000024,576stderr
3Sep 14, 2026 16:444,09921,603,42213,118,000024,576stderr
4Sep 14, 2026 16:444,10921,670,10213,151,000024,576stderr
5Sep 14, 2026 16:444,11422,203,75713,165,000024,576stderr
6Sep 14, 2026 16:444,11521,887,95913,171,000024,576stderr
7Sep 14, 2026 16:444,13121,811,02613,220,000024,576stderr
8Sep 14, 2026 16:444,14421,970,95213,263,000024,576stderr
9Sep 14, 2026 16:444,17821,948,24813,370,000024,576stderr