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 listMay 11, 2026 13:31Victor MerckléVictor MerckléScore: 10,698Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 13:3110,59344,029,7205,177,00028,722,0002,113,536
2May 11, 2026 13:3110,61644,517,1275,186,00028,787,0002,113,536
3May 11, 2026 13:3110,63942,860,5365,183,00028,862,0002,113,536
4May 11, 2026 13:3110,66841,362,2095,169,00028,969,0002,113,536
5May 11, 2026 13:3110,69842,949,5075,173,00029,061,0002,113,536
6May 11, 2026 13:3110,71443,750,0925,225,00029,061,0002,113,536
7May 11, 2026 13:3110,74746,905,6245,185,00029,206,0002,113,536
8May 11, 2026 13:3110,75744,629,0085,220,00029,203,0002,113,536
9May 11, 2026 13:3110,78243,307,3255,206,00029,297,0002,113,536