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 02:22Victor MerckléVictor MerckléScore: 4,119Success
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 02:254,02521,188,94912,883,000024,576stderr
2Sep 2, 2026 02:254,04921,313,17612,959,000024,576stderr
3Sep 2, 2026 02:254,07221,343,70513,032,000024,576stderr
4Sep 2, 2026 02:254,08821,440,70613,082,000024,576stderr
5Sep 2, 2026 02:254,11930,160,92413,181,000024,576stderr
6Sep 2, 2026 02:254,11921,541,04313,182,000024,576stderr
7Sep 2, 2026 02:254,12021,515,61013,184,000024,576stderr
8Sep 2, 2026 02:254,12221,645,19313,191,000024,576stderr
9Sep 2, 2026 02:254,13421,539,11913,230,000024,576stderr