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 19:01Victor MerckléVictor MerckléScore: 4,269Success
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 19:014,18321,916,19812,252,0001,135,00024,576stderr
2Sep 3, 2026 19:014,18821,839,10912,275,0001,129,00024,576stderr
3Sep 3, 2026 19:014,19021,814,19212,299,0001,109,00024,576stderr
4Sep 3, 2026 19:014,19521,770,95812,300,0001,125,00024,576stderr
5Sep 3, 2026 19:014,26922,075,37912,526,0001,136,00024,576stderr
6Sep 3, 2026 19:014,27021,949,64212,527,0001,139,00024,576stderr
7Sep 3, 2026 19:014,28422,111,83112,517,0001,193,00024,576stderr
8Sep 3, 2026 19:014,28722,180,71612,543,0001,176,00024,576stderr
9Sep 3, 2026 19:014,29022,207,30312,517,0001,214,00024,576stderr