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 7, 2026 07:07Victor MerckléVictor MerckléScore: 10,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 7, 2026 07:0710,14050,016,80431,298,0001,150,0002,519,040stderr
2May 7, 2026 07:0710,25150,062,37831,561,0001,243,0002,523,136stderr
3May 7, 2026 07:0710,25550,106,72731,586,0001,231,0002,527,232stderr
4May 7, 2026 07:0710,27650,323,29131,658,0001,228,0002,514,944stderr
5May 7, 2026 07:0710,47551,337,85732,365,0001,157,0002,510,848stderr
6May 7, 2026 07:0710,51850,619,56332,428,0001,232,0002,519,040stderr
7May 7, 2026 07:0710,51949,775,54232,395,0001,267,0002,527,232stderr
8May 7, 2026 07:0710,58751,995,49432,618,0001,261,0002,527,232stderr
9May 7, 2026 07:0710,61651,358,38232,696,0001,277,0002,502,656stderr