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 2, 2025 22:54zielajzielajScore: 367,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 2, 2025 22:54366,4091,199,514,0331,170,514,0001,995,0002,498,560
2May 2, 2025 22:54367,1621,199,594,8501,173,920,000997,0002,494,464
3May 2, 2025 22:54367,4161,207,447,7571,175,731,00002,494,464