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 3, 2026 13:15Victor MerckléVictor MerckléScore: 4,101Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 13:184,02222,679,85412,873,000024,576stderr
2Sep 3, 2026 13:184,05321,246,87612,971,000024,576stderr
3Sep 3, 2026 13:184,05821,213,21512,986,000024,576stderr
4Sep 3, 2026 13:184,05921,315,39212,990,000024,576stderr
5Sep 3, 2026 13:184,10121,429,57713,124,000024,576stderr
6Sep 3, 2026 13:184,13421,381,48613,231,000024,576stderr
7Sep 3, 2026 13:184,13621,441,12913,238,000024,576stderr
8Sep 3, 2026 13:184,14821,858,82313,274,000024,576stderr
9Sep 3, 2026 13:184,16121,716,03713,316,000024,576stderr