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 listApr 15, 2025 02:20BenBenScore: 4,836Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 02:204,81234,458,96015,398,00002,383,872
2Apr 15, 2025 02:204,81831,557,98314,389,0001,027,0002,392,064
3Apr 15, 2025 02:204,82437,235,50014,408,0001,029,0002,523,136
4Apr 15, 2025 02:204,83632,776,16515,474,00002,379,776
5Apr 15, 2025 02:204,84730,660,28514,477,0001,034,0002,383,872
6Apr 15, 2025 02:204,84930,034,26514,482,0001,034,0002,383,872