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 17, 2026 15:29Victor MerckléVictor MerckléScore: 4,105Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2026 15:414,02121,567,24712,870,000024,576stderr
2Sep 17, 2026 15:414,02421,615,02712,879,000024,576stderr
3Sep 17, 2026 15:414,06021,759,40012,992,000024,576stderr
4Sep 17, 2026 15:414,09321,876,44413,099,000024,576stderr
5Sep 17, 2026 15:414,10522,081,98613,137,000024,576stderr
6Sep 17, 2026 15:414,11121,663,68613,158,000024,576stderr
7Sep 17, 2026 15:414,12621,970,42713,205,000024,576stderr
8Sep 17, 2026 15:414,15825,307,10213,306,000024,576stderr
9Sep 17, 2026 15:414,17022,036,24313,346,000024,576stderr